There is no index.html under this link:
http://znik.wbc.lublin.pl/Mineraly/Ftp/UpLoad/
but when I mirror the whole http://znik.wbc.lublin.pl/Mineraly/ web site
with command:
cd $HOME/web/mineraly
wget -m -nv -k -K -E -nH --cut-dirs=1 -np -t 1000 -D wbc.lublin.pl -o
Andrzej [EMAIL PROTECTED] writes:
[Wget] creates a non existing link:
http://znik.wbc.lublin.pl/Mineraly/Ftp/UpLoad/index.html
[...]
it also created (when the above wget commad was run for the first
time) from the original link to the gif file:
Yes, because this is in th HTML file itself:
http://znik.wbc.lublin.pl/Mineraly/Ftp/UpLoad/index.html;
It does not work in a browser, so why should it work in wget?
It works in the browser:
http://znik.wbc.lublin.pl/Mineraly/Ftp/UpLoad/
The is no index.html and the content of the directory is
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
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
That was under 1.9.1 version.
No, sorry, I've just checked that it was under 1.8.1.
Two more problems:
There is no index.html under this link:
http://znik.wbc.lublin.pl/Mineraly/Ftp/UpLoad/
but when I mirror the whole http://znik.wbc.lublin.pl/Mineraly/ web site
with command:
cd $HOME/web/mineraly
wget -m -nv -k -K -E -nH --cut-dirs=1 -np -t 1000 -D wbc.lublin.pl -o
Two problems:
There is no index.html under this link:
http://znik.wbc.lublin.pl/Mineraly/Ftp/UpLoad/
but when I mirror the whole http://znik.wbc.lublin.pl/Mineraly/ web site
with command:
cd $HOME/web/mineraly
wget -m -nv -k -K -E -nH --cut-dirs=1 -np -t 1000 -D wbc.lublin.pl -o
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
Do I understand correctly that the mirror at feeble is created by you and
wget?
Yes, because this is in th HTML file itself:
http://znik.wbc.lublin.pl/Mineraly/Ftp/UpLoad/index.html;
It does not work in a browser, so why should it work in wget?
It works in the browser:
The following Unix command removes all files called index.html
in the current and below directories:
find . -type f -name 'index.html' -print -exec rm -f {} \;
That might be one way to solve your problem.
// Ulf Härnhammar
IMO, this is not correct. index.html will include the info the directory
listing contains at the point of download.
This works for me with znik.wbc.lublin.pl/Mineraly/Ftp/UpLoad/ as well -
what seemed to be problem according to your other post.
Yes it works for me as well when I already
Probably because you're the only one that thinks it is a problem, instead of
the way it needs to function? Nah, that couldn't be it.
Mark Post
-Original Message-
From: Andrzej Kasperowicz [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 01, 2005 2:54 PM
To: Jens Rösner; wget@sunsite.dk
Wget saves a mirror to your harddisk. Therefore, it cannot rely on an
apache
server generating a directory listing. Thus, it created an index.html as
Apparently you have not tried to open that link,
Which link? The non-working one on your incorrect mirror or the working one
on my correct
Which link? The non-working one on your incorrect mirror or the working one
on my correct mirror on my HDD?
The non-working one on my mirror.
No need to get snappy, Andrzej.
You're right, I am *really* sorry!
The problem is
solved though by running the 1.9.1 wget version.
I still am
Andrzej [EMAIL PROTECTED] writes:
Yes it works for me as well when I already mirrored it with 1.9.1
version. Only then the two problems I described before
dissapeared. So it was the fault of the old 1.8.1 version.
Many bugs have been fixed from 1.8.1 to 1.9.1. It is always a good
idea to try
Jens Rösner [EMAIL PROTECTED] writes:
Well, if wget has to put index.html is such situations then wget is not
suitable for mirroring such sites,
What exactly do you mean? It seems to work for me, e.g. index.html looks
like the apache-generated directory listing. When mirroring, index.html
The problem was that that link:
http://znik.wbc.lublin.pl/Mineraly/Ftp/UpLoad/
instead of being properly converted to:
http://mineraly.feedle.com/Ftp/UpLoad/
Or, in fact, wget's default:
http://mineraly.feedle.com/Ftp/UpLoad/index.html
was left like this on the main mirror page:
18 matches
Mail list logo