Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

Marcio H.

Explicit Path to Winscp.com Causes Host Does not Exist Error

Hi Homer,


I think that problem occurs because your path: "..... (x86)".

I suggested you try move folder WINSCP to another folder and try again.

Regards,

Marcio H
Homer

Explicit Path to Winscp.com Causes Host Does not Exist Error

Hi,

First some environment info:

WinSCP Version: 4.1.9
OS: MS Server 2003 R2 - Enterprise x64 Edition SP2

Now the issue:

When I run winscp without explicitly naming the path it works as designed:

C:\Program Files (x86)\WinSCP>WinSCP.com myuser:mypass@myserver.mydomain.com /command  "option confirm off" "get myfile.txt F:\Staging\oracle_xfer\myfile" "exit"

Searching for host...
Connecting to host...
Authenticating...
Using username "myuser".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] myuser@myserver.mydomain.com
confirm      off
myfile |          1 KiB |    0.0 KiB/s | ascii  | 100%

However if I run it with the path explicitly listed it fails with a Host Does Not Exist Error:
C:\Program Files (x86)\WinSCP>C:\"Program Files (x86)"\WinSCP\WinSCP.com myuser:mypass@myserver.mydomain.com /command "option confirm off" "get myfile.txt F:\Staging\oracle_xfer\myfile" "exit"

Searching for host...

Host does not exist
winscp> exit

Any thoughts?

Regards,
Homer.