Admin-Ahead Community

Windows => Server Security & Hardening => Topic started by: sajugovind on December 27, 2013, 08:07:46 pm

Title: Transfer file using a temporary name and rename when successful
Post by: sajugovind on December 27, 2013, 08:07:46 pm
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