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?