I am trying to connect to a FTP server with following setting
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 ?