Andrzej wrote:

> Two problems:
>
> There is no index.html under this link:
> http://znik.wbc.lublin.pl/Mineraly/Ftp/UpLoad/
[snip]
> it creates a non existing link:
> http://znik.wbc.lublin.pl/Mineraly/Ftp/UpLoad/index.html

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.

For example, Apache might return (in this order): index.html, index.htm, a
directory listing (or a 403 Forbidden response if the configuration
disallows directory listings). The actual list of files that Apache will
search for and the order in which they are selected is determined by the
configuration.

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.

Hope that helps,

Tony



Reply via email to