I need to copy file from my Windows XP system to remote Linux system.
Win location : c:\1.txt
LInux location:/tmp
What should be the command?
EDITED: pscp is recognized and OK on my PC.I CAN connect with Putty to this remote Linux PC
remote Linux name is s1,hostname is s1host
I tried transfer file with following command:
pscp C:\1.txt s1@s1host:/tmpGot:Fatal: Network error: Connection timed out
It's not clear,is command isn't ok?
22 Answers
pscp c:\1.txt username@hostname:/tmpSubstitute username and hostname for those valid for the Linux system.
Don't specify the drive letter. The colon character in the drive letter makes pscp think you mean host:path, on a host named C. You can change to that drive letter, then not specify the drive letter on your windows path:
c: pscp \1.txt s1@s1host:/tmp