I have resolved it. I just added the protocol to the open command.
open ftp:user:password@site.com
Thanks all for your help.
tried using a saved profile in winSCP and getting it to open that connection instead of defining it in the file?
Less secure but would test its capable via the command line surely?
Thank you for the response, Martin.
I tried 4.1.4 beta. Unfortunately, it also failed.
Can you try that with 4.1.4 beta?
winscp 4.0.6 (Build 358)
I could connect successfully via FTP to the server using the GUI. But my script run on the same client timed out.
Below is excerpt of my script:
option batch on
option confirm off
open user:password@ftp.server.com:21
below is the error:
batch on
confirm off
Searching for host...
Connecting to host...
Host has not answered for more than 15 seconds. Still waiting...
Warning: Aborting this operation will close connection!
(A)bort: Abort
Terminated by user.
Without the port, the error message is:
batch on
confirm off
Searching for host...
Network error: Connection timed out.
Any insights?