
內容簡介
FTP to Zip 是一款用於 WordPress 及其他資料夾的瀏覽器基礎 FTP 備份工具。它基本上使用 PHP ZipArchive 類別的 ZipArchive(),該類別不能直接使用沒有外殼訪問權限。
這個外掛插件是為進階用戶設計的 - 將可下載的 zip 文件透過 .htaccess 鎖住,或是採取其他替代措施。這個外掛插件的操作失誤率很低而且功能強大,但使用時必須謹慎。
第一個腳本會檢查並顯示您 WordPress 安裝的根目錄,取決於 FTP 內容的大小,完成這個過程可能需要幾分鐘到幾個小時,並在腳本指定從屬目錄的根目錄上建立一個 zip 文件。在下一個螢幕上,您也可以選擇下載至電腦。
FTP to Zip 在 Rackspace 雲端網站上運作得非常好,也應該適用於除了 LAMP 伺服器 (Server component are ? Linux Apache PHP MySQL) 以外的其他伺服器,其硬體後端要足夠強大才行。
進階使用方法
'backup.php' 是重要的檔案。我已經加入了簡易理解的註解。以下是提供參考的重要事項:
特定功能
針對檔案 'backup.php':
Line 23: 將 $sourcefolder 設置為根目錄。您可以自行更改。
Line 25: $timeout 是 PHP 最大執行時間,它在第34行設置 ini_set(?max_execution_time?,$timeout)。
Line 24: $zipfilename 是輸出備份 zip 的名稱。您可以隨意更改它,但呼叫另一個 PHP 函數會增加負載,這是相當合理的。
Line 38: $zip = new ZipArchive(); 是我們使用 FTP to Zip 的主要操作。
Line 71 到 Line 88: PHP 函數包含在 h1 中以根據情況顯示頁面標題。
這是有關 FTP To Zip 官方網頁上的詳細指南,簡化 FTP 內容的備份。
您的反饋意見是寶貴的。即使無法登入 WordPress 或您的網站受到攻擊而無法安全登入,也可以使用這個外掛插件進行備份。
如果有任何問題,請檢查外掛插件的官方支援頁面,該頁面網址如下:
FTP To Zip 官方網頁。
教學指引截圖如下:
如何使用 FTP To Zip,免費支援。簡化 FTP 內容備份。FTP to Zip 在 GitHub 和 Google Projects 上提供 WordPress FTP 全備份,如果您是開發人員並希望將其用於其他 CMS 或添加功能,只需下載並執行即可。
外掛標籤
開發者團隊
原文外掛簡介
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.
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 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.
Your Feedback is valuable. This plugin will work even if you have lost access to login to WordPress or it is unsafe to login (in case your site is under attack).
At any issues, please check the plugin’s official support page at :
FTP To Zip official webpage.
Screen Shot Guided Tutorial :
How to use FTP To Zip
Support is free as well. Simplify Backup of FTP Content. FTP to Zip is available in GitHub and Google Projects as WordPress FTP Full Backup, if you are a developer and want it for usage for other CMS or want to add features, simply download and proceed.
