Deleting Local files after using put command
I am currently using 4.2.2 and am trying to delete after using the put command, but nothing deletes. I also have the option in to overwrite files on the remote machine. I am unsure about why this does not work. For my personal sake, I am taking real paths and filenames out and replacing them with fakes ones to show the syntax of how I am doing this.
option confirm off
put -delete filename.ext /home/directory/
I was assuming that these 2 lines would take a file from the local current directory, copy it over to the remote directory (overwrite if it still exists) and then delete it after we are completed.
These are not deleting.
option confirm off
put -delete filename.ext /home/directory/
I was assuming that these 2 lines would take a file from the local current directory, copy it over to the remote directory (overwrite if it still exists) and then delete it after we are completed.
These are not deleting.