Author Message


I have been tasked to "GET" files from a remote server every day. The given instructions ask me to log into and then, using my web browser, download the needed files. I would like to automate this process and was advised to use WinSCP and a script file, however, I am having problems connecting. I was told to use port 990, but only port 443 seems to get me anywhere, and that's not far.

This is the content of my script file:

# Automatically answer all prompts negatively not to stall
# the script on errors
option batch on

# Disable overwrite confirmations that conflict with the previous
option confirm off

# Connect using a password
# open

# Disconnect

# Exit WinSCP

... and this is what I see when executing:

batch on
confirm off
Searching for host..
Connecting to host..
Host has not answerered for more that 15 seconds, still waiting...
Warning: Aborting this operation will close connection!
(A)bort: Abort
Terminated by user.

I cannot connect using the WinSCP GUI either. Should I be able to connect and download files from the server using WinSCP and a script file?

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
990 is port for FTPS (FTP over SSL).
443 is port for HTTPS (HTTP over SSL).
WinSCP supported neither of them. Support for FTPS is planned. But WinSCP is not an appropriate tool to HTTPS.
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