[英]Windows batch command ftp
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. 有谁能告诉我如何进行批量处理,以连接到ftp服务器并从服务器下载最新文件。
I only need the newest file, not the old ones. 我只需要最新文件,而不需要旧文件。
您可以使用Windows的wget之类的东西,可以将其配置为仅下载比您当前拥有的文件新的文件,如下所示:
wget -N ftp://username%3Apassword@FTPServerAddress/dir/*
选中此选项。它需要Powershell(默认情况下,所有Windows 7机器都具有Powershell)。比较日期比较容易。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.