"Keep remote directory up-to-date"/"Synchronize" require local folder to be refreshed in explorer

Advertisement

h4tchery
Joined:
Posts:
2

"Keep remote directory up-to-date"/"Synchronize" require local folder to be refreshed in explorer

My local folder contains several links from various other project folders (hard links, junctions and symbolic links; not shortcuts).

When I save a linked file in it’s original location, WinSCP only detects changes as soon as I open the local folder using Windows Explorer or, subsequently, refresh that Explorer window.

This applies to both the "Keep remote directory up-to-date" and "Synchronize" features. Both work as expected for files that are not linked in, or when I edit a linked file directly from within the local folder (instead of it’s original location).

I am using the latest WinSCP version on Windows 10.0.19045.4291.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,852
Location:
Prague, Czechia

Re: "Keep remote directory up-to-date"/"Synchronize" require local folder to be refreshed in explorer

As you are refreshing the folder in Explorer, it seems like even the Explorer does not detect the change automatically. Or does it?

Reply with quote

h4tchery
Joined:
Posts:
2

Re: "Keep remote directory up-to-date"/"Synchronize" require local folder to be refreshed in explorer

Yes, I am refreshing the Windows Explorer window, not WinSCP. It seems that even Explorer does not detect the change without a refresh. I am not sure if this can be addressed within Windows itself, which would be the ideal solution.

Alternatively, WinSCP could identify links and include their other file system locations in the watcher—one of them should trigger (untested); or perhaps FileSystemWatcher has options to directly address this (unchecked).

Reply with quote

martin
Site Admin
martin avatar

Re: "Keep remote directory up-to-date"/"Synchronize" require local folder to be refreshed in explorer

Ok, thanks for the details.

Reply with quote

Advertisement

You can post new topics in this forum