Edit does not download modified files but only opens local caches

Advertisement

ac
Joined:
Posts:
1

Edit does not download modified files but only opens local caches

Hi,

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
1. Create a remote file
2. Open it by Right Click / Edit
3. Modify the remote file
4. Right Click / Edit
5. The local file is not downloaded; thus, the external editor does not show the changes.

Expected behaviour
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
Adriano C.

Description: The Edit operation

bug.png

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
37,591
Location:
Prague, Czechia

Re: Edit does not download modified files but only opens local caches

I cannot reproduce the problem. Please post session log file showing the two "edit" actions. And give us times you triggered both actions.

Reply with quote

Advertisement

You can post new topics in this forum