Command line syntax for FTP ImplicitTLS

Advertisement

Jayman
Joined:
Posts:
1
Location:
UK

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

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"

Reply with quote

Advertisement

You can post new topics in this forum