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