PHP FTP Send File: Send or resume uploading files to a FTP server

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 70%Total: 520 All time: 5,642 This week: 286Up
Version License PHP version Categories
ftp-sender 1.0.0GNU General Publi...5Networking, PHP 5, Files and Folders
Description Author

This class can send or resume uploading files to a FTP server.

It can open a remote file for writing given a stream URL. The file is overwritten if already exists.

The class uploads the contents of a local file to the remote server file.

It writes a block of data at a time and if it fails writing to the remote file, it retries up to a given number of attempts appending data to the remote file from the point it stopped.

The class verifies the integrity of the upload by comparing the MD5 hash of the local file with the MD5 hash of the file sent to the server.


What is the best PHP FTP file upload class?
Send files to a secure FTP site

Picture of Everton da Rosa
  Performance   Level  
Name: Everton da Rosa <contact>
Classes: 17 packages by
Country: Brazil Brazil
Age: 39
All time rank: 84559 in Brazil Brazil
Week rank: 179 Up6 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file ftpsender.class.php Class Class source
Accessible without login Plain text file sample.php Example Example script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,642
This week:286Up
User Ratings User Comments (1)
 All time
Thats a good and interesting class ;-)
5 years ago (Josť Filipe Lopes Santos)

For more information send a message to info at phpclasses dot org.