>
Download This Plugin | |
Download Elegant Themes | |
Name | FTP to Zip |
Version | 1.8 |
Author | Abhishek_Ghosh |
Rating | 0 |
Last updated | 2014-01-01 09:38:00 |
Downloads |
4390
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
FTP to Zip plugin added 25 bytes of resources to the Home page and 16 bytes of resources to the sample Post page.
FTP to Zip plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! FTP to Zip plugin ads no tables to your Wordpress blog database.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.
'backup.php' is the important file. I have added comments for easy understanding. The important points are given here for reference :
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.