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.