Operating System - HP-UX
1833601 Members
4109 Online
110061 Solutions
New Discussion

question on path formatting for HPUX to windows SCP

 
Luis Toro
Regular Advisor

question on path formatting for HPUX to windows SCP

I am trying to scp files from a windows server to an HPUX server, from the HPUX server, and I keep getting "system cannot find the file specified". Here is my syntax on the HPUX server:
scp "Firstname lastname"@winserver:/c/test/testfile .
I have tried backslashes, forward slashes, double back slashes. I can ssh to the server, do a "cd c:\test", and a subsequent "dir" and I see the file.

Thanks
2 REPLIES 2
Torsten.
Acclaimed Contributor

Re: question on path formatting for HPUX to windows SCP

I never did this, but did you try

scp "Firstname lastname"@winserver:c:\test\testfile .


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Luis Toro
Regular Advisor

Re: question on path formatting for HPUX to windows SCP

Yes...still no good. UNIX does not like the single '\'; I needed to use '\\' so the the commendline would interpret the string correctly. It turns out the ssh software on the Windows side does not support this. I would have to purchase their ssh client for HPUX to be able to scp (sftp works fine).
Thanks