Connection Refused Message

Advertisement

zeetwoeight
Joined:
Posts:
2
Location:
Newfoundland

Connection Refused Message

Hi all,

I have an FTP server running on my laptop. I've configured WinSCP to contain a session called local host with a user account "NewUser" with password "Password1". I can connect to my localhost FTP server using the WinSCP GUI interface with on problems. However, I'm having problems getting scripting running. I've been reading through docs and testing (some success, some not). I'm wondering what is wrong with the following command:

winscp.com NewUser:Password1@localhost /command "get c:\LogFile\1.txt c:\temp\"

I keep getting Searching for host... network error: connection refused. No session.

Any suggetions?

Thx

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,811
Location:
Prague, Czechia

Re: Connection Refused Message

WinSCP defaults to SFTP. You need to force FTP with:
ftp://NewUser:Password1@localhost
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum