Take the 2-minute tour ×

I want to transfer a file from a UNIX server to a Windows 2003 Server, so I downloaded copssh onto the Windows server, and openssh is already installed on the UNIX server.

When I execute the following command (on the UNIX server):


The following output appears (on the UNIX server's sceren):


However, When I go to see file in the C drive on the Windows server, I don't find anything. Why isn't the file showing up?

share|improve this question

migrated from stackoverflow.com Oct 4 '10 at 10:50

This question came from our site for professional and enthusiast programmers.

Have you used Windows' search functionality to locate the file you copied? Maybe it is there but not in the location where you look? –  Olfan Oct 6 '10 at 14:15
add comment

4 Answers

up vote 4 down vote accepted

The destination path looks wrong - to most unix shells the backslash is an escape character not a path marker, so I'm guessing the file has dropped into the SSH user's home directory with an odd filename.





share|improve this answer
add comment

Why not install Samba on the Unix box? Then you can map drives between the two systems. Alternatively, I would use psftp (from the putty suite) rather than the command-line scp, since you aren't familiar with it and apparently do not need to script it.

share|improve this answer
add comment

You can also do it the other way round and pull files from the Windows side instead of pushing from the Unix side. Have a look into tools like WinSCP which is a graphical tool for SCP file transfers giving you a choice between the Windows Explorer or Norton Commander look and feel, both of which should be intuitive to you. Once logged in, you can navigate to the files of interest "the Windows way" and drag and drop them to wherever you want them.

share|improve this answer
add comment

Your Answer


