Topic "Unable to Connect to FTPS"

Author Message
TomTom1980

Guest


Hi,

I have never scripted to a connect to a FTPS Site before however I have many SFTP scripts using WINSCP that work perfectly fine.

I'm trying the following syntax script but I keep getting the error message "SSL\TLS required on the control channel"

If I use the WINSCP UI I can connect immediately so I know it must be my script.

I have been trying for days to get it to work and have opened ports 990 and 989 in case that helps.

Does anyone have any idea what I am doing wrong?

Code:
option confirm off
open "ftp://[USERNAME]:[PASSWORD]@[SERVER IP] -explicit -passive
option transfer binary
get *.zip [TARGET]
close
exit
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Please attach a log file both from scripting and GUI session.
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