Hello, sorry do dig up such an old topic, but :
I have exactly the same recurent issue as described aboved.
- Build 1782
- You connect to a remote server trough SCP
- You open within the internal editor a remote text file
- You refresh the content using the "refresh button"
- You close the editor : WinSCP upload the file back to the server
It's a bit problematic when you monitor a log file for exemple.
Thanks for your report.
This bug has been added to tracker:
https://winscp.net/tracker/790