|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not yet rated by the users||Total: 475 ||All time: 5,967 This week: 201|
This package can transfer files and manipulate directories via FTP.
There is one base class that establish connections to a given FTP server reading the connection options from a INI configuration file.
There is a sub-class that can perform operations related with directories like getting the path of the current remote FTP server directory, changing the current directory to a given path, retrieve the listing of files and directories of the current remote directory, create new remote directories, delete remote directories.
Another sub-class can perform operations with files like downloading a file from the current remote directory in ASCII or binary mode.
$myFtp = new ftp();
//downloading a file from the ftp server
$file = $myFtp->download("README.txt", "", FTP_ASCII);
//printing the name of the current working directory
$nameOfCurrentDirectory = $myFtp->manipulate_directory("name", "");
//printing the content (files and folders) of the current directory
$content = $myFtp->manipulate_directory("display", ".");
foreach ($content as $member)
//changing the current directory to the public folder
$change = $myFtp->manipulate_directory("goto", "/public");
The PHP FTP Manager Package (class) is intended/built to be used as a wrapper for accessing and manipulating data on FTP Servers. It extends the PHP FTP class and combines all the functions for connecting to and manipulating files and directories such as ftp_mkdir(), ftp_connect, ftp_login, ftp_get and so on into a single class.
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.