PHP Classes

Mr. FTP: Setup FTP connections and transfer files

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 36%Total: 2,644 All time: 1,445 This week: 488Up
Version License Categories
mrftp 1.0GNU General Publi...Networking, Files and Folders


Mr. FTP is a class that is capable of establishing FTP connections and transfer files using the PHP FTP extension.

It provides an interface to access FTP servers that is similar to that of the command-line FTP tool in that the function names are the same as the commands.

It can setup connections by specifying a ftp:// URL. If it specifies a user name and password, the class also authenticates at connection time.

The class provides support for changing the FTP server work directory, change permissions of files, delete files, execute raw FTP commands, retrieve files, modify the FTP server files timestamp, create directories, retrieve listings of the work directory, switch the passive mode for file transfers, send files to the FTP server, rename files, remove directories and retrive the type and size of file entries.

Picture of James Glenlake
Name: James Glenlake <contact>
Classes: 5 packages by
Country: United States United States
Age: ???
All time rank: 39849 in United States United States
Week rank: 95 Up7 in United States United States Up

  Files folder image Files  
File Role Description
Files folder imageinclude (1 file)
Files folder imagetests (2 files)

  Files folder image Files  /  include  
File Role Description
  Plain text file mrftp.class.php Class Class source

  Files folder image Files  /  tests  
File Role Description
  Accessible without login Plain text file mrftp.test.php Test A test run using PHPUnit
  Accessible without login Plain text file runtests.php Test A script to run the test

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,445
This week:488Up
 User Ratings  
 All time