"c:\program files\winscp\winscp.com" /command "option batch on" "option confirm off" "open -explicittls ftps://myname:mypwd@remotesite.co.uk:50021" "cd /pub" "synchronize local c:\files" "exit"
I am trying to get a command line script to run using FTP with Implicit TLS . I have got this working fine in the user interface but cannot do the same as a bat file.
I am running the following:
@echo on
"c:\program files\winscp\winscp.com" /command "option batch on" "option confirm off" "open ftp"://myname:mypwd@remotesite.co.uk:50021 "cd /pub" "synchronize local c:\files" "exit"
Like i say I have checked the connection within the UI using protocol FTP with TLS explicit encryption and it works fine. I did try adding the -explicittls flag to the script but without success.
Any help would be greatly appreciated
Jay