I don't think this can work in this form, with the backslash \
separators:
scp user@hotname:c:\folder\filname user@hostname:\folder\filename(destination)
First of all, the path separator in Linux is /
instead of \
, so this would be better:
scp user@hotname:c:\folder\filname user@hostname:/folder/filename
Secondly, your command looks like as if you're running this command on a third PC, on machineC to copy files from machineA to machineB. If this is not the case and you are in fact on machineA copying files to machineB, then this would be better:
scp c:\folder\filname user@hostname:/folder/filename
UPDATE
If you don't have the scp
command in Windows, here are a few options:
- Install Git. Even if you don't use Git, this installer includes an excellent terminal and common *nix commands, and
scp
too - Download PuTTY. You can use
pscp.exe
instead ofscp
, the above syntax will work. - Install WinSCP. It has scripting features, but if you want to use the command line the previous two options are easier.