Topic "Do you have any sample code to connect to FTPS server?"

Author Message
vovan1415
[View user's profile]

Joined: 2015-02-11
Posts: 1
Location: PA
Hello,

This is my first post.
Do you have any sample code to connect to FTPS server.
I have
1.username
2.password
3.port: 990
4.hostname: ftps.host.com
5.File Protocal: FTP
6.Encryption: TSL/SSL Implicit

Need to automate the process to open connection from my server and send/get files.
I was able to connect from GUI of WinSCP but can't connect from the comand line.

Thank You
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Use open ftps://username:password@ftps.host.com/

See
http://winscp.net/eng/docs/scriptcommand_open
http://winscp.net/eng/docs/session_url

No need to specify a port as 990 is a default port for ftps://.

Quote:
I was able to connect from GUI of WinSCP but can't connect from the comand line.

In the latest beta/RC version you can use Generate Session URL function:
http://winscp.net/eng/docs/ui_generateurl
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