Post a reply

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

martin

Partially transferred file will remain on the server.

If you do not enable batch mode, you will get a prompt asking what to do.
BillCottrell

question about status of destination file after error

hi;
we are looking at using scripting to transfer files to an SSH Host using the SCP protocol. we have multiple files to transfer. if we use the following put command

put *.asc - delete

if there are 5 files to send, what happens if there is an error sending the third file? is there a possibility of a partially-transfered file remaining on the server or is the partially-transferred file deleted from the server when there is an error?

if we use the command option batch abort, the script is terminated, if we do not use the option batch abort, would the script try to resend the third file again? or would the script continue on and try to send the 4th and 5th files?

Thanks