wget

duncan brown duncanbrown at linuxadvocate.net
Thu Apr 15 18:54:34 UTC 2004


Alexander Dalloz said:
> Am Do, den 15.04.2004 schrieb Matthew Benjamin um 19:22:
>
>> Does anyone know how to use wget to drill down to all of the folders
>> and subdirectories in a website. I can mirror my website however it
>> does not grab all of the folders which contain data that the links go
>> to. The site is password protected.
>>
>> mattB.
>
> wget --help and man wget were not helpful?
>
> wget -v --http-user=username --http-passwd=password -m
> http://www.foo.bar
>

also, you'll wan tto do some research, if you're not using domain
authentication (which the http-user/passwd stuff is), then you're going to
need to assign the POST vars, i think this is as easy as:

export USERNAME=duncan
export PASSWORD=p00st1nK

before your wget command.  well, that all really depends on the POST vars
it's looking for.

now, if you're doing a GET authentication (doubtful), then just put it in
the url you're wget'ing.

-d



-+(duncan brown
-+(duncanbrown at linuxadvocate.net
-+(http://www.linuxadvocate.net

()  ascii ribbon campaign - against html e-mail
/\                        - against microsoft attachments

Blessed is the man who, having nothing to say, abstains from giving wordy
evidence of the fact.
                -- George Eliot






More information about the fedora-list mailing list