Topic "Command line returns connection timed out"

Author Message
southwick13
[View user's profile]

Joined: 2015-12-03
Posts: 1
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!
sftp.log (1.95 MB) [Download]

Description: (none)

secureftp.txt (594 Bytes) [Download]

Description: (none)

commandline.log (4.54 KB) [Download]

Description: (none)

Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
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 http://winscp.net/eng/docs/session_url
Guest




prikryl 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 http://winscp.net/eng/docs/session_url


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

Any other ideas?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Please post a new log showing that.
Guest




prikryl wrote:
Please post a new log showing that.


I was able to resolve this, thanks!
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License