PHP File Class: Perform different operations to manage files

Recommend this page to a friend!
  Info   View files Documentation   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2021-08-19 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 82 This week: 1All time: 9,721 This week: 181Up
Version License PHP version Categories
php-file-class 1.0The PHP License5PHP 5, Files and Folders, Compression
Description Author

This class can perform different operations to manage files.

It can take the names of the files that need to be manipulated and perform several operations types. Currently, it can:

- Read a given file
- Add a new file to the list of files to be processed by the class
- Adds new protocols to the list of supported protocols by class
- Changes the owner of a directory recursively
- Delete files according to a criterion
- Checks if a path corresponds to a local file that is not associated with any remote protocol
- Checks if a path matches a directory
- Checks if a path matches a file
- Returns the file type
- Save a text in a file
- Clears special characters in filenames
- Creates a directory structure
- Move a directory
- Deletes a directory that may contain files and other directories
- Unzip a ZIP file
- Upload a file to another server

In Portuguese:

- Lê um dado ficheiro
- Adiciona novo ficheiro na lista de ficheiros a processar pela classe
- Adiciona novo protocolos na listas de suportados protocolos pela classe
- Muda o dono de uma directoria de modo recursivo
- Apaga ficheiros de acordo com um critério
- Verifica se um caminho corresponde a um ficheiro local que não está associado a nenhum protocolo remoto
- Verifica se um caminho corresponde a uma directoria
- Verifica se um caminho corresponde a um ficheiro
- Devolve o tipo de ficheiro
- Guarda um texto em um ficheiro
- Limpa os caracteres especiais nos nomes dos ficheiros
- Cria um estrutura de directorios
- Move uma directoria
- Apaga um directório que pode conter ficheiros e outros directórios
- Descompactar um ficheiro ZIP
- Faz o envio de um ficheiro para outro servidor

Picture of António Lira Fernandes
Name: António Lira Fernandes <contact>
Classes: 3 packages by
Country: Portugal Portugal
Age: ???
All time rank: 385244 in Portugal Portugal
Week rank: 187 Up3 in Portugal Portugal Up

Details
// --------------------------------------------------------------------------------
// @version 1.5 - readme.txt
// --------------------------------------------------------------------------------
// License GNU/LGPL - March 2021
// @author António Lira Fernandes - alf@esmonserrate.org
// https://github.com/alfZone
// --------------------------------------------------------------------------------




0 - Sommaire
============
    1 - Introduction
    2 - What's new
    3 - Corrected bugs
    4 - Known bugs or limitations
    5 - License
    6 - Warning
    7 - Documentation
    8 - Author
    9 - Contribute

1 - Introduction
================

  This class handles all file operations. It presents several methods for manipulating the file system. The methods are in Portuguese.
  Documentation can be found at https://github.com/alfZone/file/tree/main/documentation

2 - What's new
==============

      - No new feature


3 - Corrected bugs
==================



4 - Known bugs or limitations
=============================

  

5 - License
===========

  Is released under GNU/LGPL license.
  This library is free, so you can use it at no cost.

  I will also appreciate that you send me a mail (alf@esmonserrate.org), just to
  be aware that someone is using File.

  For more information about GNU/LGPL license : http://www.gnu.org

6 - Warning
=================

  This library and the associated files are non commercial, non professional work.
  It should not have unexpected results. However if any damage is caused by this software
  the author can not be responsible.
  The use of this software is at the risk of the user.

7 - Documentation
=================

  A documetação pode ser encontrada em https://github.com/alfZone/file/tree/main/documentation

8 - Author
==========

  This software was written by António Lira Fernandes (alf@esmonserrate.org) on its leasure time.

9 - Contribute
==============
  If you want to contribute to the development of FILE, please contact alf@esmonserrate.org.
 
  Files folder image Files  
File Role Description
Files folder imagedocumentation (1 file)
Files folder imagepclzip (4 files)
Plain text file file.php Class Class source
Accessible without login Plain text file README.txt Doc. Documentation

  Files folder image Files  /  documentation  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files  /  pclzip  
File Role Description
  Accessible without login Plain text file gnu-lgpl.txt Doc. Documentation
  Plain text file pclzip.lib.php Class Class source
  Plain text file PclZip.php Class Class source
  Accessible without login Plain text file readme.txt Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:82
This week:1
All time:9,721
This week:181Up
For more information send a message to info at phpclasses dot org.