On 06/27/2010 04:06 AM, Giuseppe Scrivano wrote: > "Paul" <[email protected]> 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/
