Post a reply

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

martin

Re: Connection Refused Message

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

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