how to copy files from windows to linux using command line

Download pscp.exe from here

Copy File from Windows To Linux

pscp -pw password C:\Users\Admin\Desktop\test.txt This email address is being protected from spambots. You need JavaScript enabled to view it.:/home/vagrant

__ -pw for the password
__ replace password
__ C:\Users\file.doc represents the file that will be copied
__ 10.0.0.10 is the IP of the server.
__ /home/mypath is the path to copy the file

Copy File From Linux To Windows

pscp -pw password This email address is being protected from spambots. You need JavaScript enabled to view it.:/mypath/file C:\Users\MyDirectory\ 

References:
Comtechies
Putty pscp
Medium
Serverfault

Add comment


Security code
Refresh