Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

MentalBreakdown

I sent you an e-mail with a log file and the output. I changed sensitive data to something else to still show exactly how this is working and happening
martin

Re: Deleting Local files after using put command

Please post a full log file showing the problem.

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. For posting extensive logs you may use pastebin or similar application. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
MentalBreakdown

Re: Deleting Local files after using put command

MentalBreakdown wrote:

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.


I forgot to mention that the files transfer just fine. They just do not delete.
MentalBreakdown

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.