Topic "Command line syntax for FTP ImplicitTLS"

Author Message
[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\" /command "option batch on" "option confirm off" "open ftp":// "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

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
"c:\program files\winscp\" /command "option batch on" "option confirm off" "open -explicittls ftps://" "cd /pub" "synchronize local c:\files" "exit"
Martin Prikryl

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License