NppFTP
NppFTP copied to clipboard
File doesn't save when loaded through an FTP profile that is not currently active
I have NppFTP (0.26.1 Unicode) set up with multiple FTP profiles. If I open a file in an FTP session, edit it (without saving), and then I open a FTP session from a different profile, when I go to save the file from the first FTP session (currently disconnected) it saves without error. However, it only saves locally to a temp file and does not upload the new file to the first FTP profile.
This is a problem because if the user is multi-tasking quickly he may not realize the file has not be saved remotely. He is deceived because the UI suggests by all appearances that the file has been saved successfully.
It would be helpful if NppFTP, at a minimum, prompted the user with a warning that the file has only been saved local (not remotely), and the user must connection to the corresponding FTP session to complete the upload.
Even better, would be to somehow do things in the background so that the upload can complete automatically. Either by changing the current FTP session so it can complete, or creating a hidden FTP session to allow the upload to complete just for that file.
This second method is how PSPad Editor's built-in FTP manager does it.
+1 I've fallen trap to this many times.
Related to #24
+1 for this. It's a major limitation and has meant all my colleagues avoiding NppFTP.
My PR should fix this
https://github.com/ashkulz/NppFTP/pull/225