0

is there anyone who can tell me how to make a batch which connects to at ftp server and downloads the latest file from the server.

I only need the newest file, not the old ones.

4

2 回答 2

0

您可以使用wget for Windows 之类的东西,可以将其配置为仅下载比您当前拥有的文件更新的文件,如下所示:

wget -N ftp://username%3Apassword@FTPServerAddress/dir/*

于 2013-09-17T07:24:22.523 回答
0

检查这个。它需要powershell(所有Windows 7机器默认都有它)。用它比较日期更容易。

于 2013-09-17T08:26:50.900 回答