[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: |
Giuseppe Scrivano |
Subject: |
Re: [Bug-wget] How do you prevent the download of default-page files? |
Date: |
Sun, 27 Jun 2010 13:06:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
"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.
Cheers,
Giuseppe