Posted: 2008-02-20 23:26
I have been tasked to "GET" files from a remote server every day. The given instructions ask me to log into https://example.com/ 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 user:firstname.lastname@example.org
# Exit WinSCP
... and this is what I see when executing:
Searching for host..
Connecting to host..
Host has not answerered for more that 15 seconds, still waiting...
Warning: Aborting this operation will close connection!
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?
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.
You can post new topics in this forum
And it's free!