FTP型号产品 [英] FTP model product

查看:158
本文介绍了FTP型号产品的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的项目就像FTP浏览器.
我想通过FTP直接下载文件夹.
您可以发送示例代码吗?
我已经完成了FTP的文件下载形式.
我可以从FTP下载zip文件.
但是整个文件夹下载都无法做到这一点.

my project is like FTP surfer.
i want direct folder download through From FTP.
could u send sample codings.
i done file download form FTP.also
i can download zip file From FTP.
but Entire folder download Cant do that.
any have codings.

推荐答案

如果您已经编写了FTP的其余部分,则遍历一个文件夹并下载文件肯定很简单.涉及代码?如果可以下载zip,则可以下载任何文件.您的程序不允许查看文件列表吗?如果是这样,那么您就需要遍历列表并下载它们.
Surely it''s quite trivial to iterate over a folder and download the files, if you''ve already written the rest of the FTP code involved ? If you can download a zip, you can download any file. Does your program not allow viewing the list of files ? If it does, then you have all you need to iterate over the list and download them.


这篇关于FTP型号产品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆