> When you specify a directory, it is up to the web server to determine 
> what resource gets returned. Some web servers will return a directory 
> listing, some will return some file (such as index.html), and others will 
> return an error.  

I know! But that is intentionally left without index.html. It should 
display content of the directory, and I want that wget mirror it 
correctly.
Similar situation is here:
http://chemfan.pl.feedle.com/arch/chemfanftp/
it is left intentionally without index.html so that people could download 
these archives. If wget put here index.html in the mirror of such site 
then there will be no access to these files.
 
> If the web server returns any information, wget has to save the 
> information that is returned in *some* local file. It chooses to name 
> that local file "index.html" since it has no way of knowing where the 
> information might have actually been stored on the server.  

Well, if wget "has to" put index.html is such situations then wget is not 
suitable for mirroring such sites, and I expect that problem to be 
corrected in future wget versions.

a.

Reply via email to