ashkulz / NppFTP

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

Enahcenment: upload to temp file, then rename #243

Open NathanSweet opened 5 years ago

NathanSweet commented 5 years ago

It's very common that uploading a file in place causes problems. Eg, when editing PHP files on a live site (yes, maybe a bad idea, but very common!), this will cause webserver requests to fail during the upload because PHP reads the partially uploaded file.

I would like NppFTP to have a setting to upload to a temporary file, then move to the actual file when the upload is finished. Other FTP clients such as WinSCP support this. There isn't an FTP server that does this automatically, so it is up to the client to do it.