Topic "sftp using get with -resume option still gets prompted"

Author Message
Guest




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
Guest




missing 'option confirm off'
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License