LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-13-2004, 10:22 AM   #1
mk2312
LQ Newbie
 
Registered: Dec 2004
Posts: 2

Rep: Reputation: 0
help needed to download files


Hi

Am trying to do something very simple but can't seem to work out how. Basically, I want to copy the directory /home/sites/site35/ which is on a remote Linux server to my local PC. I can't connect via a normal FTP programme because the Apache server is down, so I have to shell in (nightmare!!).

This is what I've managed so far. Using the programme Putty, I've opened a connection to the server, logged in as admin. Then I do CD /home/sites/site35/. Ok, so now I'm in the right directory, how do I copy it and all the files in it to my local Windows PC? Is there a simple command to download?

Would appreciate help as I can't make a head or tail of Linux.

Thanks!

MK
 
Old 12-13-2004, 10:38 AM   #2
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
honestly, there is no easy way that i am aware of to transfer files from linux to windows unless you use ftp

you can get an ftp server for windows, install it, and then ftp the files over

i would recommend filezilla server as a free ftp server for windows


if you were transferring linux to linux, you can use the scp command


--adam
 
Old 12-13-2004, 11:00 AM   #3
mk2312
LQ Newbie
 
Registered: Dec 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Hi Adam

Thanks for your reply but unfortunately it does not help me solve my immediate problem. I know it can be done because my brother rescued a couple of other directories for me but he's now on holiday so I can't ask him how he did it. Alternatively, is there a way where I can:

a) create a zip file containing all the files in the /home/sites/site35/ directory
b) send that file to another remote linux server (i.e. our new web server) for which I have an FTP login and password.

I can then connect to that other server through a regular FTP programme and download the file from there.

How would I set about doing that? Any suggestions?

Thanks

MK
 
Old 12-13-2004, 04:40 PM   #4
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
just run the following sequence of commands

ftp
open serverip
type your login
type your password

then type in send /home/site35/site35 /site35

this should do it, if not, try adding a /* at the end of those directories

--adam
 
  


Reply



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
imap script needed: download attachments Samsara Linux - Software 1 10-23-2004 04:27 PM
Download Manager - download BIG files AndrewMSConvert Linux - General 3 11-09-2003 06:26 AM
how much knowledge needed to download Linux? beginnerx Linux - Newbie 5 09-26-2003 10:06 AM
download clarification needed-kde 3.04 ronss Linux - Software 5 10-15-2002 04:43 AM
What to download. What is needed. purvisk Linux - Distributions 8 02-02-2002 03:31 PM

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

All times are GMT -5. The time now is 09:35 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
Open Source Consulting | Domain Registration