WinSCP can download the files created within the last 24-hours (1 day):winscp.com /command ^ "open ftp://user:pass@ftp.site.com/" ^ "lcd c:\my\local\direc" ^ "get *>=1D" ^ "exit" 如果确实需要下载最新文件(按时间戳记),则可能需要一些更高级的脚本.If you really need to download the latest file (by timestamp), you probably need some more advanced scripting.例如,有一个指南可供您使用WinSCP下载最新文件.For example there's a guide available for downloading the most recent file with WinSCP. (我是WinSCP的作者) 这篇关于批处理/宏代码以从FTP站点获取最新文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!