Am 2008-07-19 10:26:25, schrieb Micah Cowan: > That strikes me as not quite right. If Wget sees > http://www.ifixit.com/Guide/First-Look/iPhone3G, and it's not redirected > to http://www.ifixit.com/Guide/First-Look/iPhone3G/, then Wget will use > a file name. What's more, if it later sees it with the slash, it will > fail to create a directory at all, since the file already exists with > that pathname. > > I'm not sure what you mean by "I want both". You can't possibly have a > regular file named iPhone3G, and another file named iPhone3G/images/... > it can't be both a file and a directory at once. > > If you specify the link with a trailing slash, then Wget will realize > iPhone3G is a directory, and will store the file it finds there as > iPhone3G/index.html. You're out of luck, though, if some links refer to > it with, and some without, the trailing slash, with a server that > doesn't redirect to the slash version (like Apache does).
I think he mean the thing like the Web-Browsers do. If you download a HTML file with contents you will get: some_name.html some_name/ # the page requisites so if he try to downloag http://www.some-domain.tld/sub1/iPhone3G he want iPhone3G.html iPhone3G/ # the page requisites I would find this feature usefull too. Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ # +49/177/9351947 50, rue de Soultz MSN +33/6/61925193 67100 Strasbourg/France IRC #
signature.pgp
Description: Digital signature