Windows > Server Security & Hardening

Transfer file using a temporary name and rename when successful


For a security reason its better to transfer a file with a temporary name through ftp and then rename the file when it has transfered successfully. We can do the same through this command:

ncftpput -u "username" -p "passwordHere" remote-host remote-directory local-file && mv local-file local-file.transferredsuccessfully


[0] Message Index

Go to full version