I've just noticed that, by trying editing a file on the server (Right Click > Edit), when the file is modified on the server, and one clicks again on Edit, the file is not downloaded anymore, but only the local cache (in the temp folder) is open.
I'm using an external editor (Notepad++) and can confirm that the local temporary file remains unchanged (to exclude a bug of Notepad++). By flushing the cache (or hitting
F5), when WinSCP detects a new timestamp on the remote file, by clicking on Edit, the remote file is correctly downloaded and opened.
I've also tried to disable all the caches described here (https://winscp.net/eng/docs/directory_cache), but nothing has changed.
Step to reproduce
- Create a remote file
- Open it by Right Click > Edit
- Modify the remote file
- Right Click > Edit
- The local file is not downloaded; thus, the external editor does not show the changes.
The expected behaviour has WinSCP constantly downloading the remote file on edit, regardless the file is cached locally or not.
Thank you for the support