Host does not exist

Advertisement

Ed Hogarth
Joined:
Posts:
2
Location:
United Kingdom

Host does not exist

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.

Reply with quote

Ed Hogarth
Joined:
Posts:
2
Location:
United Kingdom

solved problem

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

Reply with quote

Advertisement

You can post new topics in this forum