Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Guest

Never mind, I found it (https://winscp.net/eng/docs/faq_script_ini) :-D.
Here's what I did - in case someone needs it:
I created a file (whatever.ini) with the following content:
[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
open X
...
exit

Than launched the command line tool like this:
winscp.com /script=whatever.ftp /ini=whatever.ini
Guest

FTPS and scripting

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.