Wget converts links correctly *only* for the first time [was Re: links conversion; non-existent index.html].

2005-05-02 Thread Andrzej
> Yup. So I assume that the problem you see is not that of wget mirroring, but > a combination of saving to a custom dir (with --cut-dirs and the like) and > conversion of the links. Obviously, the link to > http://znik.wbc.lublin.pl/Mineraly/Ftp/UpLoad/index.html which would be > correct for a sta

Re: links conversion; non-existent index.html

2005-05-01 Thread "Jens Rösner"
> 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: > http:/

Re: links conversion; non-existent index.html

2005-05-01 Thread Hrvoje Niksic
"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, i

Re: links conversion; non-existent index.html

2005-05-01 Thread Hrvoje Niksic
"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

Re: links conversion; non-existent index.html

2005-05-01 Thread Andrzej
> 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 sti

Re: links conversion; non-existent index.html

2005-05-01 Thread "Jens Rösner"
> > 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 co

Re: links conversion; non-existent index.html

2005-05-01 Thread Andrzej
> 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, otherwise you would have noticed that there was an error and that was why I was complaining, g

RE: links conversion; non-existent index.html

2005-05-01 Thread Post, Mark K
sunsite.dk Subject: Re: links conversion; non-existent index.html -snip- > You "expect"?? Yes, of course. Why are you so surprised? a.

Re: links conversion; non-existent index.html

2005-05-01 Thread Andrzej
> 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 m

Re: links conversion; non-existent index.html

2005-05-01 Thread Andrzej Kasperowicz
> 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

Re: links conversion; non-existent index.html

2005-05-01 Thread Ulf Harnhammar
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

Re: links conversion; non-existent index.html

2005-05-01 Thread "Jens Rösner"
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: > http://zni

Re: links conversion; non-existent index.html

2005-05-01 Thread "Jens Rösner"
> 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 d

links conversion; non-existent index.html

2005-05-01 Thread Andrzej
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 $HOME/logiwget/

bad links conversion; non-existent index.html

2005-05-01 Thread Andrzej
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 $HOME/logi

Re: bad links conversion; non-existent index.html

2005-05-01 Thread Andrzej
> That was under 1.9.1 version. No, sorry, I've just checked that it was under 1.8.1.

Re: links conversion; non-existent index.html

2005-05-01 Thread Andrzej
> 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.h

RE: links conversion; non-existent index.html

2005-05-01 Thread Tony Lewis
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 wha

Re: links conversion; non-existent index.html

2005-05-01 Thread Andrzej
> 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

Re: links conversion; non-existent index.html

2005-05-01 Thread Hrvoje Niksic
"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: > http://znik.wbc.lublin.pl/ChemFan/Gify

Re: links conversion; non-existent index.html

2005-05-01 Thread Andrzej
> 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 > $HOME/logiwget

links conversion; non-existent index.html

2005-04-30 Thread Andrzej
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 $HOME/logiwget/