Votes: 0Posted On: Jan 09, 2018 01:01:49
There are multiple ways in which you can transfer files between Windows and Linux machine. You can use tools such as PSCP(PuTTY Secure Copy) or WinSCP to transfer files between Windows and Linux machines. Both of these are Windows related applications used to transfer files.
PSCP(PuTTY Secure Copy)
The PSCP uses a secure SSH connection to transfer files between two Windows and Linux machines. It is a command line application which implies that it does not have an interface and should be run on a command line. In Windows operating system you can use a Command Prompt for purpose of a command line. You can download PSCP form the link below.
How to use?
1. Once you have installed PSCP, please open the Command Prompt and enter the path you have installed the PSCP in.
2. Enter the command "pscp" followed by the path of the file to be transferred and the destination address. The syntax of the following is as follows.
pscp path_of_file username@IP_Address Destination_Path
There are some options that can be used in tandem with the PSCP command.
1. "-ls" - The "-ls" option is used to list remote files.
Syntax : pscp -ls username@IP_Address:dir1
2. "-r" - The "-r" option is used to copy the files recursively. This means that the pscp command will copy all the contents of the directory if the directory is specified.
WinSCP is another useful tool used to transfer files between Windows and Linux machines. Unlike PSCP, it has a very convenient to use Graphical User Interface. You can download WinSCP by clicking on the below link.
1. Once you install the WinSCP, you can click on its icon to open the WinSCP window.
2. Enter the Hostname or IP address of the destination.
3. Type in the Username and Password of the destination address.
4. Once you have logged in, you will find two parallel sections, The left one containing the local directory and right one the destination directory.
5. You can right click on the files you want to copy or simply drag the files from local directory to the destination.