Topic "Host does not exist"

Author Message
Ed Hogarth
[View user's profile]

Joined: 2013-11-06
Posts: 2
Location: United Kingdom
I'm getting the error message host does not exist when attempting to log on to winSCP using a script and was wondering if anyone had any ideas why this might be happening. This is the beginning of my script:

option batch abort
option confirm off
open user:password@host

the username, password and host all work when logging in manually through the console or when logging in through the GUI.

Any help much appreciated.
Ed Hogarth
[View user's profile]

Joined: 2013-11-06
Posts: 2
Location: United Kingdom
I have solved the problem. If you have had a similar problem then I suggest you check your log file and check that the host name is correct (i.e. as written in the script) rather than it being 'script=c' as it was in my case due to a error in the cmd file that launched this script. Now that error is solved it works fine
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