Topic "Connection Refused Message"

Author Message
zeetwoeight
[View user's profile]

Joined: 2009-09-14
Posts: 2
Location: Newfoundland
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
WinSCP defaults to SFTP. You need to force FTP with:
ftp://NewUser:Password1@localhost
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License