Cannot connect to host via command line but can through GUI

Advertisement

kww8732
Guest

Cannot connect to host via command line but can through GUI

I am attempting to open a connection to a host via the command line but the connection never completes. It eventually times out and aborts. If I use the same connection parameters via the GUI application the connection works fine. What could the possible cause of this be?

Below is what I get when I use this syntax
winscp.com /command "open username:password@servername:port"

Searching for host...
Connecting to host...
Host is not communicating for more than 15 seconds. Still waiting...
Warning: Aborting this operation will close connection!
<A>bort:Abort
Terminated by user.
winscp> exit

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: Cannot connect to host via command line but can through GUI

Please read FAQ. If that does not help, come back.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum