Network Error:Connection Refused

Advertisement

QZ
Guest

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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

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.

Reply with quote

Advertisement

You can post new topics in this forum