Net_FTP

Net_FTP provides comfortable communication with FTP-Servers. It mainly provides an OO wrapper to PHP's integrated FTP functions, adding some missing features like recursive up- and downloading of complete folders, as well as deleting. The options for generating directory listings were also extended to feature well structured listing of directories and/or files.

Table of Contents
does a finger query (Previous) predefined constants (Next)
Last updated: Mon, 22 Sep 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

Note by: Radu Brehar
In order to do chmod on a dir/file on the ftp server, use the SITE method of the Net_FTP class. The execute method does not work for this.
This method is not in the online documentation, but it actually is a public method of the Net_FTP class.

Usage:

$netFtp->site("chmod 777 /path/to/your/dir");