How to transfer files between a Windows and a Linux Machine

book

Article ID: 178573

calendar_today

Updated On:

Products

Mobility Suite

Issue/Introduction

 

Resolution

Contents:


Linux to Windows
Windows to Linux

From Linux to Windows

Note:  WinCP or Putty may be used, the below example, PSCP (Putty) will be used.

1.       Download and install Putty onto the workstation.

2.       Open a Command Prompt terminal and change directories to the Putty-installation-path.

Tip: Browse to the Putty installation path C:\Program Files (x86)\Putty\ using the Windows Explorer.  Once in the directory, while holding the shift-key right-click anywhere in the window and select Open command window here. WinCP and Filezilla offer a graphical user interfaces (GUI) to transfer files between Linux and Windows.

3.       Enter the following line, replacing the <variable> items:
pscp.exe [email protected]<RemoteHost>:<RemoteDirectory>/* C:\

 

From Windows to Linux

Note:  WinCP or Putty may be used, the below example, PSCP (Putty) will be used.

1.       Download and install Putty onto the workstation.

2.       Open a Command Prompt terminal and change directories to the Putty-installation-path.

Tip: Browse to the Putty installation path C:\Program Files (x86)\Putty\ using the Windows Explorer.  Once in the directory, while holding the shift-key right-click anywhere in the window and select Open command window here. WinCP and Filezilla offer a graphical user interfaces (GUI) to transfer files between Linux and Windows.

3.       Enter the following line, replacing the <variable> items:
pscp.exe <LocalFilePath> <user>@<RemoteHost>:<RemoteDirectory>

Tip: Simply drag the file, to be transferred, into the Command Prompt window after typing pscp.exe; this will automatically populated the <LocalFilePath>.

For example:

 

Attachments