How to keep Sync both alive even after synced

Advertisement

PakPos
Guest

How to keep Sync both alive even after synced

Hi,

I have an issue while using 'Synchronize' with 'both' mode. Why after both local and remote synced the connection terminated (not keep alive like using 'Keeping remote directory up to date'), so when I have a new file in remote I have to press the 'Synchronization' again.

Is there any way I can keep 'Synchronization' alive with 'both' mode?

Thanks

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,506
Location:
Prague, Czechia

Re: How to keep Sync both alive even after synced

Remote to local synchronization cannot work, as there's no way the server can notify WinSCP about a new file.

All you can do is to script a frequent synchronization in a loop.
There's actually an official WinSCP extension for "Remote to local synchronization" that does exactly that:
https://winscp.net/eng/docs/library_example_keep_local_directory_up_to_date

You can easily modify it to do "both" synchronization.

Reply with quote

Advertisement

You can post new topics in this forum