Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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

Please read FAQ. If that does not help, come back.
kww8732

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