LinuxQuestions.org
Register a domain and help support LQ
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 04-11-2012, 10:37 AM   #1
vagmztp
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!

Thanks,

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

Rep: Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789
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:

http://winscp.net/eng/index.php
 
Old 04-11-2012, 11:15 AM   #3
vagmztp
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, 11:19 AM   #4
zuzoa
Member
 
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, 11:20 AM   #5
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,508

Rep: Reputation: 800Reputation: 800Reputation: 800Reputation: 800Reputation: 800Reputation: 800Reputation: 800
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, 11:28 AM   #6
vagmztp
LQ Newbie
 
Registered: Oct 2011
Posts: 22

Original Poster
Rep: Reputation: Disabled
Smile

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, 09:29 PM   #7
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,311

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
Filezilla is great, but if that wasn't allowed, you can see here http://www.chiark.greenend.org.uk/~s.../download.html that full Putty includes pscp, psftp
 
Old 04-12-2012, 09:19 AM   #8
vagmztp
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!
 
  


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


All times are GMT -5. The time now is 07:52 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration