Alexandru Tudor Constantinescu wrote:
> I have the feeling wget is not really able to figure out which files
> to download from some web sites, when css files are used.

That's right. Up until wget 1.11 (released yesterday) there is no
support for css-files in the matter of parsing links out of it. There
for wget will download the css-file, but not any file referenced only there.

> Command line:
> wget -r -np -p http://idisk-srv1.mpi-cbg.de/~constant/photos/
> 
> If you perform this (it's only about 2.5MB) and try to open locally
> the web site, you'll see that the background is not properly
> represented (and a few other images). You have to manually download
> 
> wget -r -np -p http://idisk-srv1.mpi-cbg.de/~constant/photos/res
> 
> Now, the funny things:
> - some files were in the res directory (locally) already afer the
> first command was issued. But not bg.gif and a few others. This
> despite the -p flag being used.
> - after issuing the second command, all files are downloaded, plus
> some strange ones like [EMAIL PROTECTED];O=A . No idea where they
> appeared from, never seen them before. As I don't have file-level
> access to the web site, I cannot say for sure that they don't exist.
> But listing the directory at
> http://idisk-srv1.mpi-cbg.de/~constant/photos/res (in Opera) does not
> show them.

Sure. If you have a closer look, you will find, that the column-headers
are links with a url like
http://idisk-srv1.mpi-cbg.de/~constant/photos/res/?C=N;O=D
Because Windows has problems with ? inside filenames they are translated
to @ by default. Also the index.html is automatically added if wget
encounters a link like this.

The purpose of these links?
Well the ordering of the file list can be adjusted.

You can view these file when you open them in a webbrowser (explicitly).

Hope you got some clues

Matthias

Reply via email to