sftp using get with -resume option still gets prompted

Advertisement

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

Reply with quote

Advertisement

You can post new topics in this forum