Topic "FTPS and scripting"

Author Message
Guest




Can someone tell me if I can and how do I do to open a connection to a FTPS server from a script with winscp.com.
I noticed the open command only handles the sftp, ftp and scp protocols.
Guest




Never mind, I found it (http://winscp.net/eng/docs/faq_script_ini) Very Happy.
Here's what I did - in case someone needs it:
I created a file (whatever.ini) with the following content:
Code:
[Sessions\X]
HostName=host.domain.root
PortNumber=1234
UserName=the user name
Password=the password
FSProtocol=5
Ftps=2

I created another file (whatever.ftp) with the following content
Code:
open X
...
exit

Than launched the command line tool like this:
Code:
winscp.com /script=whatever.ftp /ini=whatever.ini
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