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

Guest

missing 'option confirm off'
Guest

sftp using get with -resume option still gets prompted

winscp.com /script=c:/myscp_login.txt

myscp_login.txt -
open sftp://xxxyyy:xxxyyy@targetsite -hostkey="ssh-dss 1024 2e:98:4d:c2:6d:f5:9c:7f:92:f4:f6:47:36:99:99:99"
get -resume /directory1/subdiretory/data_backup.bak
exit

keep getting following error if previous sftp failed/stopped

Target directory contains partially transfered file 'data_backup.bak'. Do you
want to resume file transfer? Note: Answering 'No' would delete partially transfered file and restart transfer.
(Y)es, (N)o, (C)ancel: Cancel


Doesn't -resume provent this behavior?

Best regards, Peter