WinSCP FTP setting to continuously monitor changes

2019-06-13 16:36发布

问题:

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.

回答1:

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.