LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-05-2012, 06:00 AM   #16
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221

Quote:
Originally Posted by Tony Empire View Post
Okay, this is what I am doing...
I am on a windows xp machine. I use putty to log into a linux machine. I then want to copy files from that linux machine to the windows machine. Can you please give me a step by sep guide on how to do this?
Configure SAMBA on your linux machine and make the directory shared which you want to copy

then simply access your linux machine from windows

for further help on how to configure samba use the help of your best friend GOOGLE
 
Old 01-05-2012, 07:47 PM   #17
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,699

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
You can use my examples post #11; type them on the MS box as pscp is a windows cli (actually putty) cmd.
Alternatively, use filezilla http://filezilla-project.org/download.php?type=client
 
Old 05-28-2013, 11:15 AM   #18
samlauff
LQ Newbie
 
Registered: May 2013
Posts: 1

Rep: Reputation: Disabled
Here is what I found was the quickest way to use the command line transfer a file from a linux server to my windows box (much like scp):

-Download pscp

-Navigate your command prompt to the folder where the downloaded pscp application lives

-Run this command: pscp -l username -pw password yourlinuxboxIPaddress.com:/home/some/path/file.txt . (don't miss the dot at the end, which is the target location for the file you are transferring, feel free to change this to put the file where you want it)

-If you access your linux box from a specific port (i.e. 23), then use the -P option (-P 23) in the above command

-Your file will be in the folder where you issued the command


Hope this helps anyone else trying to copy files with the command line. For the easiest way to transfer files from a linux box to a window box in general, I recommend WinSCP.
 
Old 06-03-2013, 09:01 AM   #19
Predatorian
Member
 
Registered: Mar 2008
Location: currently, where ever the army takes me
Distribution: Debian Lenny/Ubuntu or Arch Linux
Posts: 145

Rep: Reputation: 28
I think what he's wanting to do is be on the linux box, and copy from the linux box to the windows box without getting on said windows box. I am also curious on how to do this.
 
Old 06-04-2013, 06:13 AM   #20
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,699

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
@Predatorian: that's just basic scp, but the target MSWin box must have a listening ssh service ie you're doing a 'push' from Linux to MS.
If you do a 'pull' from the the MS box when logged into the MS box, then the ssh server has to be on the Linux box.
 
Old 09-22-2015, 07:26 AM   #21
Frantix
LQ Newbie
 
Registered: Sep 2015
Posts: 4

Rep: Reputation: Disabled
Smile Worked like a charm RE:chrism01

Thanks chrism01 for the solution using pscp!
ref: Files from Linux system to Windows
 
Old 09-22-2015, 11:18 PM   #22
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,699

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
No worries.
Its really a qn of being very clear about which OS you are actually logged into when you issue the cmd.
Eg logging into Linux from MS, then issuing the cmd at the Linux prompt means not using pscp
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
scp: copy a file from local machine to remote machine seran Linux - Newbie 8 10-30-2007 01:23 PM
scp/ssh tail(multiple file) remote copy tpreitano Linux - General 1 08-22-2005 03:17 PM
copy from windows machine to a linux machine s_deepblue Linux - Networking 3 03-12-2005 02:43 PM
SCP Copy from Linux to Windows? mhague Linux - Newbie 8 11-03-2004 02:56 PM
scp :copy file from one remote comp to another aniketh Linux - Networking 4 06-16-2004 03:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration