PHP Classes

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    
Last Updated Ratings Unique User Downloads Download Rankings
2023-02-28 (1 month ago) RSS 2.0 feedStarStarStarStar 70%Total: 552 This week: 2All time: 5,476 This week: 76Up
Version License PHP version Categories
ftp-sender 1.0.5GNU General Publi...5Networking, PHP 5, Files and Folders


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: 41
All time rank: 80858 in Brazil Brazil
Week rank: 35 Up2 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:2
All time:5,476
This week:76Up
User Ratings User Comments (1)
 All time
Thats a good and interesting class ;-)
8 years ago (Josť Filipe Lopes Santos)