Anyone please help me how to copy files from Linux command prompt to windows. I am connecting to Linux system using putty in windows system
Before you can start your transfer you should be following the below steps:
- Setup your Linux sever for SSH access.
- Install Putty on Windows machine.
- The Putty-GUI can be used to SSH-connect to your Linux Box, but for file- transfer, we just need one of the putty tools called PSCP
- With Putty installed, set Putty's path so that PSCP can be called from DOS command line.
- Putty is installed with default settings (in C-drive).If you install Putty in some other DIR, please modify the below commands accordingly.
- Now on Windows DOS command prompt:
a) set the path from Windows Dos command line(windows):
type this command:
set PATH=C:\Program Files\PuTTY
b) check / verify if PSCP is working from DOS command prompt:
type this command:
pscp
The copy command should be something like below:
pscp.exe linux-username@linux-server-ipaddress: [source-DIR-inLinux] [destination-DIR-inWin]
This link should help...!