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

Guest

Re: Command line returns connection timed out

martin wrote:

Please post a new log showing that.


I was able to resolve this, thanks!
martin

Re: Command line returns connection timed out

Please post a new log showing that.
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?
martin

Re: Command line returns connection timed out

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
southwick13

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!