WinSCP FTP设置,持续监控更改和下载 [英] WinSCP FTP setting to continuously monitor changes and download
本文介绍了WinSCP FTP设置,持续监控更改和下载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
@eRIZ评论说,使用WinSCP进行此任务可能不是一个理想的解决方案。使用修改控制系统,如git,将会更好一些。
无论如何回答你的问题:
- 设置同步脚本。您将需要使用
同步本地
命令特别。有关常规说明,请参阅将文件传输(或同步)自动化到FTP服务器的指南。 - 使用Windows Windows Scheduler安排脚本以常规(频繁)间隔运行。请参阅将文件传输(或同步)调度到FTP服务器的指南。
另请参阅查看FTP服务器上的更改的批量脚本。
We are two developers working from different country. I want WinSCP to continuously monitor changes in FTP directories and when my partner modify any file, I want it to automatically download the changes to my local directory.
解决方案
As @eRIZ commented, using WinSCP for this task may not be an ideal solution. Using revision control system, such as git, would be a way better.
Anyway to answer your question:
- Setup a synchronization script. You will need to use the
synchronize local
command in particular. For general instructions, see the guide to automating file transfers (or synchronization) to FTP server. - Schedule the script to run in regular (frequent) intervals using Windows Windows Scheduler. See the guide to scheduling file transfers (or synchronization) to FTP server.
See also Batch script to watch for changes on FTP server.
这篇关于WinSCP FTP设置,持续监控更改和下载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文