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

martin

Re: Command line syntax for FTP ImplicitTLS

"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"
Jayman

Command line syntax for FTP ImplicitTLS

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