-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

.
Hello,

I'm using wget to download a whole directory from a http server with the
following command:

wget --timestamping --user=user --password=pass --no-host-directories
- --no-directories --recursive --no-parent --reject "index.html*"
- --header="Accept-Charset: UTF-8" http://www.chemie.uni-dortmund.de/[...]/

(username, password and url changed)

there is no index.html file in this directory so the http server returns
 self-generated index.html file which lists all the files in the
directory. wget then downloads all the linked files in the directory
(without all the index.html files because of --reject "index.html*" and
without all the icons because of --no-parent).

until now everything is fine, but i'm using UTF-8 charset throughout my
system, including all the file names. my problem is that wget does not
change all the german umlauts in the file names from ISO-8859-1 to UTF-8
and therefore lots of filenames are difficult to read.

I tried to fix this by asking the http server to produce an index.html
file using the UTF-8 charset by sending the "Accept-Charset: UTF-8"
header as you can see in the command above, but this does not work.

moreover i have to download new files every week and if i change the
filenames manually these files will be downloaded again which wastes
disk space, bandwith and time ...

It would be nice if there was a way to automatically convert all the
filenames!

Thank you for your help!
Bye, Tilman
.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFQ1IDxWHJ8ml5laIRAnobAJsE3q64v75d1+ts6S/x2fpxkTZixgCdHG5y
j/Gx2nRN4NcgmoiAIE3w/1w=
=QOij
-----END PGP SIGNATURE-----

Reply via email to