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

QZ

Thanks

That was it. Thanks so much!
martin

Re: Network Error:Connection Refused

WinSCP defaults to SFTP protocol. Maybe you are using different one in the GUI? Compare log files from the GUI and script to see what the difference is.
QZ

Network Error:Connection Refused

Hi, I am just trying WinSCP. I have a window 2003 server standard edition service pack 2. WinSCP version 4.3.4. The GUI version works just fine. However I am having trouble to get scripting version working. Here is my script saved in a txt file.

option batch on
option confirm off
open realusername@localhost



winscp.exe /console /script=example.txt

I got the "network error:connection failed" error.

Any help would appreciate.