[英]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.