Command line returns connection timed out

Advertisement

southwick13
Joined:
Posts:
1

Command line returns connection timed out

I'm unable to connect to an sftp site using the command line. the gui connects successfully. Using the command line it returns Connection timed out.

I'm using windows server 2012r2
WinScp 5.7.5(build 5665)

Invoked with this command - WinSCP.com /script=secureftp.txt

Attached
Script - secureftp.txt
failed command line log - commandline.log
successful gui log - sftp.log

Thanks!

Reply with quote

Advertisement

Guest

Re: Command line returns connection timed out

martin wrote:

In GUI, you connect to non-standard port 8080. While in scripting you connect to the default port 22.

Use open sftp://pjm:***@transfer.grid.alstom.com:8080/download/

See https://winscp.net/eng/docs/session_url

thanks - tried using the above with the port number, and it still did not work.

Any other ideas?

Reply with quote

Guest

Re: Command line returns connection timed out

martin wrote:

Please post a new log showing that.

I was able to resolve this, thanks!

Reply with quote

Advertisement

You can post new topics in this forum