Copying a local file from Windows to a remote server using scp [closed] Copying a local file from Windows to a remote server using scp [closed] windows windows

Copying a local file from Windows to a remote server using scp [closed]


If your drive letter is C, you should be able to use

scp -r \desktop\myfolder\deployments\ user@host:/path/to/whereyouwant/thefile

without drive letter and backslashes instead of forward slashes.

You are using putty, so you can use pscp. It is better adapted to Windows.


Drive letters can be used in the target like

scp some_file user@host:/c/temp

where c is the drive letter. It's treated like a directory.

Maybe this works on the source, too.


On windows you can use a graphic interface of scp using winSCP. A nice free software that implements SFTP protocol.