Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-11-2012, 09:37 AM   #1
LQ Newbie
Registered: Oct 2011
Posts: 22

Rep: Reputation: Disabled
Using PuTTy to get files from Linux to my PC

Hi, my box is
(1087)==> uname -a
Linux lgofcrpshr0 2.6.18-274.3.1.el5 #1 SMP Fri Aug 26 18:49:02 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

My release is
Red Hat Enterprise Linux Server release 5.5 (Tikanga)

I use PuTTY to connect to my Unix and Linux boxes and want to find a way to transfer text files from my Linux box to my Windows PC. To do it now, I transfer the file to the Unix box, then get on my PC cmd and ftp from the Unix box. A pain. I figure there has to be a better way. I've read some threads out there but I'm not familiar with PuTTY's command line - I just use it to connect to the boxes. And I do not know how to tell if my PC has an ssh connection?

You guys have always helped me out! I'm confident you can at least point me in the right direction!


Old 04-11-2012, 10:09 AM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,197
Blog Entries: 9

Rep: Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832
PuTTY is opening an ssh connection but ssh itself is not used for file transfers. scp and sftp use the same ssh daemon to allow for file transfers. You can download WinSCP to your Windows system and use it to do scp/sftp transfers between Windows and Linux. Its interface is standard Windows look and feel so you can drag and drop from the Windows to the UNIX/Linux or vice/versa. You can get the download at:
Old 04-11-2012, 10:15 AM   #3
LQ Newbie
Registered: Oct 2011
Posts: 22

Original Poster
Rep: Reputation: Disabled
Thank you. I will try that. I just hope my company will allow me to download it!
Old 04-11-2012, 10:19 AM   #4
Registered: Nov 2008
Location: USA
Distribution: Arch 64-bit
Posts: 159

Rep: Reputation: 35
If you have a SSH server running on the Linux box, you can use SCP (Secure Copy) using the SSH server. For example, I believe the syntax would be:

$ scp vanessa@linuxbox:/directory/with/textfiles textfile.txt

Also if you setup an FTP server on the Linux box you could always use ftp to get the files directly from there.
Old 04-11-2012, 10:20 AM   #5
Senior Member
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 4,502

Rep: Reputation: 1023Reputation: 1023Reputation: 1023Reputation: 1023Reputation: 1023Reputation: 1023Reputation: 1023Reputation: 1023
Will putty not allow you to sftp your Linux box? That way you don't have to install anything else on the server.
Old 04-11-2012, 10:28 AM   #6
LQ Newbie
Registered: Oct 2011
Posts: 22

Original Poster
Rep: Reputation: Disabled

My fellow coworkers here frowned on downloading anything BUT one took pity on me and showed me FileZilla which is automatically installed on everybody's PC. Gosh, but I wish I knew that before! With his help, I was able to get to one of my production boxes and retrieve files. So simple. But thank you all for your help!
1 members found this post helpful.
Old 04-11-2012, 08:29 PM   #7
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,462

Rep: Reputation: 2119Reputation: 2119Reputation: 2119Reputation: 2119Reputation: 2119Reputation: 2119Reputation: 2119Reputation: 2119Reputation: 2119Reputation: 2119Reputation: 2119
Filezilla is great, but if that wasn't allowed, you can see here that full Putty includes pscp, psftp
Old 04-12-2012, 08:19 AM   #8
LQ Newbie
Registered: Oct 2011
Posts: 22

Original Poster
Rep: Reputation: Disabled
Thank you! I think I will try to download the whole kaboodle - after all, I downloaded it to begin with!


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
[SOLVED] SCP to copy files using putty JJJCR Linux - Newbie 6 09-05-2011 02:16 AM
convert screen.log and putty.log files into linux readable files aksharb Linux - Software 1 03-20-2011 07:16 AM
coping or moving files to my pc using putty micro_xii Linux - Newbie 3 05-21-2007 02:00 AM
Removing Putty files Casper12 Linux - Newbie 1 08-03-2005 02:50 PM
uploading files using putty ? lozz1978 Linux - Newbie 2 02-20-2004 10:30 AM

All times are GMT -5. The time now is 01:12 AM.

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