FTP to Zip

plugin banner

FTP to Zip takes browser based FTP backup of WordPress plus other folders. Proper error messages are shown if there is any defect in the installation.

Author:Abhishek_Ghosh (profile at wordpress.org)
WordPress version required:4.5
WordPress version tested:4.6.1
Plugin version:1.9
Added to WordPress repository:10-08-2012
Last updated:01-01-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:1
Plugin URI:http://thecustomizewindows.com/ftp-to-zip/
Total downloads:7 460
Active installs:100+
plugin download
Click to start download

FTP to Zip takes browser based FTP backup of WordPress plus other folders. Basically it uses PHP ZipArchive class ZipArchive(); which can not be used without shell access directly.

This Plugin is intended for the advanced users - either block the downloadable zip file via .htaccess or take an alternative measure. The Plugin is fail proof and is powerful, but usage must be judicial.

The first script checks and shows up your WordPress Installation root. Depending upon the size of your FTP content, it can taken few minutes to few hours to complete the process and will create a zip file on the root where the script is made to run. On the next screen, you will get the option to download it to your computer as well.

FTP to Zip works nicely on Rackspace Cloud Sites, it should work on any LAMP server (Server component are – Linux Apache PHP MySQL) with good hardware backend.

Advanced Usages

'backup.php' is the important file. I have added comments for easy understanding. The important points are given here for reference :

Specific Functions

For the file 'backup.php' :

Line 23 : $sourcefolder is set to root. You can change it yourself. Line 25 : $timeout is the maximum php execution timeout. It sets ini_set(‘max_execution_time’, $timeout); on Line 34. Line 24 : $zipfilename is the name of the backup zip as output. You can change it as you like. Calling another php function will give pretty name increasing the load (its quite logical). Line 38 : $zip = new ZipArchive(); is the main action we are doing with FTP to Zip. Line 71 to Line 88 : The PHP functions are wrapped inside h1 to show the page title as per the situation.

Here is detailed guide on Official WebPage of FTP To Zip , Simplify the Backup of FTP Content.