Menu

#69 Confirm overwriting, if the file was changed in server

open
nobody
None
5
2012-06-25
2012-06-25
Anonymous
No

If the file was edited in server after it was opened in Npp, saving it would overwrite the file, loosing these changes.

It would be nice if NppFTP could check, if file was already edited and ask about overwriting (Let's say, after opening the file NppFTP could make MD5 hash of the file or take last modified time of the file and store that value along local file copy. Before uploading file to the server, NppFTP could redownload file and create "current" MD5 hash or take "current" modified time of the file from the server and compare it).

Of course, saving then will be slower, because of creating MD5 hash or checking modified time of the file, so it could be configurable (via checkbox in Genreal settings or even in Profile settings).

Discussion