I want to copy a
file from C:\temp on MachineA to C:\final on MachineB.
I tried to use the following command, but it gave me an error (permission denied):
C:\PROGRA~1\putty\pscp.exe -i C:\PROGRA~1\cwRsync\home\rcadmin\.ssh\id_rsa_private.ppk
[email protected]:C:\final\test.txt C:\temp\test.txt
It turned out I can only access C:\users\direcpc in my source computer. So if I put the
file in C:\users\direcpc\text.txt, then it would work:
C:\PROGRA~1\putty\pscp.exe -i C:\PROGRA~1\cwRsync\home\rcadmin\.ssh\id_rsa_private.ppk
[email protected]:/test.txt C:\temp\test.txt
But I want to access any location on my source computer instead of just my user home directory, is there a way to do this?