Net_FTP

Inhaltsverzeichnis
Konstanten -- Vordefinierte Konstanten
Net_FTP::Net_FTP() -- constructor
Net_FTP::connect() -- connects to a given FTP server
Net_FTP::disconnect() -- disconnects from the FTP server
Net_FTP::login() -- logs into the FTP server you are connected to
Net_FTP::cd() -- changes the directory on the server.
Net_FTP::pwd() -- returns the directory on the server you are currently in.
Net_FTP::mkdir() -- creates a new directory.
Net_FTP::execute() -- executes a command on the server.
Net_FTP::mdtm() -- returns the last modification date of a file.
Net_FTP::size() -- returns the size in bytes of a file.
Net_FTP::ls() -- returns the listing of a directory in a specified way.
Net_FTP::rm() -- deletes a file or directory.
Net_FTP::get() -- download a file to the computer your script runs on.
Net_FTP::put() -- upload a file to the FTP server.
Net_FTP::getRecursive() -- download a whole directory to the computer your script runs on.
Net_FTP::putRecursive() -- upload a whole directory to the FTP server.
Net_FTP::checkFileExtension() -- check extensions.ini for the transfermode of a specific file.

Net_FTP erlaubt die komfortable Kommunikation mit FTP-Servern. Hauptsächlich ist es ein objektorientierter Aufsatz für die PHP-eigenen FTP-Funktionen, ergänzt durch zusätzliche Funktionen wie rekursives Hoch- und Herunterladen kompletter Verzeichnisse, wie auch deren Löschung. Die Möglichkeiten zur Verzeichnis- und Dateianzeige wurden erweitert und besser strukturiert.

Net_FTP soll zukünftig ergänzt werden um Funktionen wie der rekursiven Vergabe von Zugriffsrechten mit dem SITE-Befehl, verschiedene Verzeichnisausgaben und Windows-Unterstützung. Weiterhin ist geplant, alternativ die FTP-Verbindung über Sockets aufzubauen, wenn PHPs FTP-Funktionen nicht zur Verfügung stehen.