ashkulz / NppFTP

Plugin for Notepad++ allowing FTP, FTPS, FTPES and SFTP communications
https://ashkulz.github.io/NppFTP/
320 stars 93 forks source link

[FEATURE] Option to open newly uploaded file as current file #304

Open stoppeye opened 3 years ago

stoppeye commented 3 years ago

The following has happened to me several times (maybe because I'm too dumb): I have a local file open in the editor and decide to upload it to a remote location. I then continue to work on the file, click Ctrl-S every now and then. And then I'm surprised to find out later that I haven't actually updated the file on the server...

So when uploading a new file to a remote location, there should be an option to make this the new current file ("Open uploaded file from server?"), so that editing and saving will update the remote file from then on. I think the local version of the file should automatically be replaced by the remote (ie. cached) version of the file, if you accept the option to open the file from the server.

BTW, this already exists for the reverse action: if you download a remote file with the "Save file as..." option, you will get prompted with "The download is complete. Do you wish to open the file?". So basically I want the same for uploads.