如何将多个文件从ftp服务器下载到本地文件夹

如何将多个文件从ftp服务器下载到本地文件夹

问题描述:

您好,我想将所有文件从ftp服务器下载到本地计算机
而且我只想将更新后的数据从ftp服务器下载到本地文件夹

hello every one i jus want to download multiple files from ftp server to local machine
and i want to download only updated data from ftp server to local folder

步骤.
1.确定如何确定是否已更新".大概是通过文件时间.
2.获取FTP GUI客户端.
一个.确保可以连接到目标FTP服务器.
b.确保您可以看到更新数据(例如文件时间).
3.获取或编写一个FTP客户端库.
4.使用3写代码执行FTP步骤.它将类似于您通过GUI所做的操作.确保检查并报告错误值.
Steps.
1. Determine how you will determine whether is is "updated" or not. Presumably via file time.
2. Get a FTP GUI client.
a. Insure that you can connect to the target FTP server.
b. Insure that you can see the update data (like file time.)
3. Get a FTP client library or write one.
4. Using 3 write code that does FTP steps. It will be similar to what you did via the GUI. Make sure that you check for and report error values.


步骤3.获取FTP客户端库或编写一个FTP客户端库.

上一次我寻找用于C#的FTP解决方案时,它需要从第三方供应商处购买一个库(我本可以写一个库.)

示例"要求写入特定的API,而该API首先需要具有该库.

正如我所说的,您需要先执行步骤2,这是其他任何人都不能为您做的事情.
Step 3. Get a FTP client library or write one.

The last time I looked for a FTP solution for C# it required purchasing a library from a 3rd party vendor (I could have written one.)

An "example" requires writing to a specific API, which requires having the library in the first place.

And as I stated you need to do Step 2 first which isn''t something that anyone else can do for you.