PHP Classes
elePHPant
Icontem

PHP Backup Files to FTP: Send ZIP file with backup of 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   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2014-10-15 (4 years ago) RSS 2.0 feedStarStarStarStar 70%Total: 566 All time: 5,279 This week: 419Up
Version License PHP version Categories
backup-ftp 1.0.0GNU General Publi...5PHP 5, Files and Folders, Systems adm...
Description Author

This class can send ZIP file with backup of files to a FTP server.

It creates a temporary ZIP archive with the contents of a list of local files.

The class can send the created ZIP archive to a given FTP server. It can retry sending the file a given number of attempts if it fails for some reason.

After sending the file, the class compares the hash of the local ZIP file with the remote file to determine if it succeeded.

The log of the executed actions displayed and outputted to a log file.

Innovation Award
PHP Programming Innovation award nominee
October 2014
Number 2


Prize: One copy of VS.PHP
All Web sites should have a backup process in place, just in case their information is lost due to incidents that may happen in the future.

It is better to send backup information to a separate machine, so when the site information is lost, the backup information is safe and can be used to recover the lost information.

This class implements an extensive backup solution that can gather several files in a single ZIP file that is sent to another machine using FTP.

It is a robust solution because it can recover from transmission failures. At the end it can verify the integrity of the transmitted file by comparing the hash of its contents with the original file hash.

Manuel Lemos
  Performance   Level  
Name: Everton da Rosa <contact>
Classes: 17 packages by
Country: Brazil Brazil
Age: 38
All time rank: 86761 in Brazil Brazil
Week rank: 164 Up7 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 3x

 

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

 Version Control Unique User Downloads Download Rankings  
 100%
Total:566
This week:0
All time:5,279
This week:419Up
 User Ratings  
 
 All time
Utility:100%StarStarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:-
Examples:100%StarStarStarStarStarStar
Tests:-
Videos:-
Overall:70%StarStarStarStar
Rank:398