Hello,
Please cc me on responses, as I'm not subscribed to the list.
I just updated a Linux box to 1.9.1 yesterday from 1.8.1 in order to get the --connect-timeout functionality. I use wget to mirror a graphics server that is hosted on IIS. IIS url encodes directory and filenames, thus a space in a filename becomes %20. In 1.8.1, wget would just take the url encoded version and mirror it with the url encoding in the filename in the local Linux filesystem which was fine by me. Unfortunately, after the upgrade wget url decodes the names before dropping them into the local fiesystem. Suddenly I have a new parallel directory hierarchy! Ouch.
I suspect two things:
1. there is a new option for wget that I don't have configured that will change this behavior to work the way the old version did
2. judging from the man page it is quite possibly --restrict-file-names=nocontrol or --restrict-file-names=unix,nocontrol
Here's how my script calls wget (and is currently translating remote url _IMAGES%20BY%CATEGORY to to local filesysten directory _IMAGES BY CATEGORY, etc.):
/usr/local/bin/wget --connect-timeout=300 -m -np -nv -o `date '+log/%Y-%m-%d-%H%M.wget.log'` -nH --cut-dirs=1 http://x.x.x.x:x/images/_IMAGES%20BY%20CATEGORY/
Any help much appreciated!
>w<
