繁体   English   中英

ZIP 中的文件在 ZIP 文件使用 Z2FEC392324A5C23AC13

[英]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单个文件
  • 在 PHP 服务器上存档 FTP 文件,然后在客户端下载。 这种方法不好,因为它会使每个文件从 FTP 服务器传输到 PHP 服务器,然后在 go 上存档,最后发送到客户端(浏览器)。

我真正需要的是在 FTP 服务器上存档,然后继续ftp_get

任何想法? 谢谢

服务器上的 ZIP 文件的 FTP 协议中没有 API。


因此,除非您有另一个访问接口(例如 SSH shell 访问),否则您不能这样做。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM