Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

wraith

Setting winscp with explicit encryption

I am trying to connect to a FTP server with setting on attached file

This setting works well and I can connect to ftp server via GUI (version 5.7.5)

However, when I try to convert these settings to script

winscp.com /command "option batch abort" "option confirm off" "open ftp://username:password@ftp.example.com:21 -
explicittls /" "put -filemask=>1D D:\Backups\*.bak /" "exit"


and run it from cmd, there is an error message indicated that there is "too many parameters for command 'open'"

What did I do wrong here and how to resolve it ?