NppFTP icon indicating copy to clipboard operation
NppFTP copied to clipboard

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

Open stoppeye opened this issue 4 years ago • 0 comments

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.

stoppeye avatar Feb 04 '21 09:02 stoppeye