Topic "Command line syntax for FTP ImplicitTLS"

Author Message
Jayman
[View user's profile]

Joined: 2011-11-30
Posts: 1
Location: UK
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
"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"
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License