cannot connect via command line but works via GUI
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?
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?