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

Author Message
Guest /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

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

missing 'option confirm off'

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License