Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Transfer file using a temporary name and rename when successful  (Read 24168 times)

0 Members and 1 Guest are viewing this topic.

sajugovind

  • Guest
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