[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] How do you prevent the download of default-page files?
From: |
Micah Cowan |
Subject: |
Re: [Bug-wget] How do you prevent the download of default-page files? |
Date: |
Sun, 27 Jun 2010 15:37:01 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 |
On 06/27/2010 04:06 AM, Giuseppe Scrivano wrote:
> "Paul" <address@hidden> writes:
>
>> "When wget encounters a URL that ends in a slash, since there's no file
>> name, wget has no idea what it should name it, but does have to name it
>> something. So it goes with the traditional "index.html" filename."
>>
>> I would like to prevent the downloading of this file retreived when the URL
>> ends in a slash. How do you do that?
>
> you can't do it. All you can do is to choose a different file name,
> using the --default-page option to wget.
It wouldn't normally make any sense to do so either. Not downloading the
default-page files would usually prevent you from traversing the site
much at all.
--
Micah J. Cowan
http://micah.cowan.name/