Windows > Server Security & Hardening

Transfer file using a temporary name and rename when successful

(1/1)

sajugovind:
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

Navigation

[0] Message Index

Go to full version