[英]Archive files in ZIP on FTP server before ftp_get() the ZIP file using PHP
I would like to know if there is a way, using PHP, to archive some files in a ZIP on the FTP server (not the PHP server) then proceed with the ftp_get()
.
到目前為止,我可以:
ftp_get
單個文件 我真正需要的是在 FTP 服務器上存檔,然后繼續ftp_get
。
任何想法? 謝謝
服務器上的 ZIP 文件的 FTP 協議中沒有 API。
因此,除非您有另一個訪問接口(例如 SSH shell 訪問),否則您不能這樣做。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.