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

I have resolved it. I just added the protocol to the open command.
open ftp:user:password@site.com
Thanks all for your help.
JRB_BMB

tried using a saved profile in winSCP and getting it to open that connection instead of defining it in the file?
Less secure but would test its capable via the command line surely?
pn2kt

Thank you for the response, Martin.
I tried 4.1.4 beta. Unfortunately, it also failed.
martin

Re: cannot connect via command line but works via GUI

Can you try that with 4.1.4 beta?
pn2kt

cannot connect via command line but works via GUI

winscp 4.0.6 (Build 358)
I could connect successfully via FTP to the server using the GUI. But my script run on the same client timed out.
Below is excerpt of my script:
option batch on
option confirm off
open user:password@ftp.server.com:21

below is the error:
batch on
confirm off
Searching for host...
Connecting to host...
Host has not answered for more than 15 seconds. Still waiting...
Warning: Aborting this operation will close connection!
(A)bort: Abort
Terminated by user.

Without the port, the error message is:
batch on
confirm off
Searching for host...

Network error: Connection timed out.

Any insights?