Here I have a windows client and an Ubuntu server with SSH port listening, You need to download all Putty Binaries
1 – in your ubuntu (server side) check the ip address:
>> ifconfig
for example my ubuntu ip address is = 192.168.1.3
2- Open a Command Prompt in Windows machine (client side) and set your putty directory as an environment variable :
c:\> set PATH = c:\directory\of\putty; %PATH%
(this setting is not permanent !)
3- Now use this command to send a file to the ubuntu server:
c:\> pscp -P 22 c:\destination\folder\filename user@192.168.1.3:/home/username/Desktop/filename
it requests your password and then transfers the file to server side!
for more information and detail about the settings check these two links:
for copy a file from the server to your client use this command:
pscp reza@192.168.1.3:/home/dan/Documents/result.png c:\Users\dan\Desktop\result.png