How to copy files between various platform - pscp command
To copy files between different server platforms using pscp command
pscp command helps you to copy or transfer files between different platforms using the Pscp tool. Pscp is used in Linux environment to copy files to multiple servers and different platforms. Pscp tool is a part of Pssh and it is a utility to copy files parallel to multiple hosts. Here I will explain, transferring files between different platforms.
I am going to transfer files between Windows 7 PC to Linux Centos 6 PC and vice versa, using only the Pscp tool in the windows 7 PC.
In Windows 7 PC
Download the “ pscp.exe” tool from the below link.
Move the downloaded pscp.exe file to the path “ C:”
The Pscp tool works only in “ C:” path in windows machine. To check Pscp, open the RUN prompt by using Ctrl+r and enter cmd to open the Command prompt. Type “ pscp” the options will be displayed.
Now copy any file from the windows machine to the Linux machine. See the screen shot
In this screenshot the text file “ windowsfile.txt” is copied from the Windows to the Linux PC
Now copy files from linux PC to Windows PC. See the screen shot
In this sample screenshot the Linux pc ipaddress is 192.168.5.238 , root is the user.
Here you can see the file “ Linux-file” from the path /root/Desktop/ in Linux PC is copied to the “ test” folder in D: drive of the Windows PC.
Comments ( 0 )
No comments available