Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-23-2004, 06:56 PM   #1
LQ Newbie
Registered: Oct 2004
Distribution: redhat, fedora, mandrake, debian, and my fav. gentoo
Posts: 8

Rep: Reputation: 0
wget ? maybe

hey all,
i'm tring to use wget to download all the file in a web directory (without any index), but it's just making alist of the files in an index.html it's not actually downloading the files, any suggestions or is there another program or script that i could use

Old 11-23-2004, 08:27 PM   #2
LQ Newbie
Registered: Oct 2004
Distribution: redhat, fedora, mandrake, debian, and my fav. gentoo
Posts: 8

Original Poster
Rep: Reputation: 0
lol, k so i'm reply to my own thread how dumb is that.

found that if you use wget -r
it will download all the files within that directory, BUT <b>BUT</b> it won't grab the other directories with in that directory

wget -r
will only retreive the files in dir1 it wont enter in to "" to get those files and thats what i want

any ideas ??
Old 11-23-2004, 11:35 PM   #3
LQ Newbie
Registered: Nov 2004
Location: georgia, us
Distribution: linux mint
Posts: 18

Rep: Reputation: 0
wget's r option, when used with http, is for recursive retrieval through links, not a directory structure (i.e. wget -r -l 2 follows links for 2 levels and downloads those files). to get the behavior you are expecting, i imagine you'll have to do your wget'ing through ftp instead of http, but i wouldn't swear to it. try rtfm (info wget, or man wget for a brief summary of commands).

Old 11-24-2004, 12:25 AM   #4
Registered: Aug 2004
Location: Germany
Distribution: Slackware 10.0
Posts: 258

Rep: Reputation: 30
I agree with allstarzero,

I treid a lot of different things with wget, including what you are trying. And what you want is one of the things I could not manage up to now.

Of course this does not mean it is impossible, ... maybe I was to n00b when I tried...

Greetings, Sascha


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
can't wget!! aru_04 Linux - General 5 08-13-2005 05:07 AM
wget noir911 Linux - Newbie 8 07-30-2005 08:57 AM
wget Harp00 Linux - Newbie 4 11-15-2004 07:27 PM
wget toastermaker Linux - Software 4 11-13-2004 10:59 AM
wget filex Linux - Security 4 09-08-2004 08:02 PM > Forums > Linux Forums > Linux - Software

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