Unknown switch 'resumesupport' error from cmd script

Advertisement

Tarinder
Joined:
Posts:
2
Location:
Sheffield, UK

Unknown switch 'resumesupport' error from cmd script

Hi i get the following error when trying to upload a file

This is the full script:
option batch continue
option confirm off
open sftp://username:password@url -hostkey=theKey
option transfer binary
cd .
lcd c:\randomDirectory
put file.csv -resumesupport=off
close
exit

I just found out the resumesupport option was introduced in 4.1 beta (https://winscp.net/eng/docs/faq_script_switch) but another user said it's available on 5.2 beta only.

Can you please tell me where this switch is available? I'm using version 5.1.3 (build 2881)
Can someone please help?
Last edited by Tarinder on 2018-10-02 15:12; edited 1 time in total

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: Unknown switch 'resumesupport' error from cmd script

The only correct answer is: Use the latest version of WinSCP.

Btw, the FAQ says: Some specific switches (such as -resumesupport, -filemask, -rawsettings, etc.) were introduced even later.

Reply with quote

Advertisement

You can post new topics in this forum