I recently upgraded to wget 1.8.2 from an unknown earlier version.  In
doing recursive http retrievals, I have noticed inconsistent behavior.
If I specifiy a directory without the trailing slash in the url, the
"--no-parent" option is ignored, but if the trailing slash is present,
it works as expected.  Seems like others would have noticed this long
before I did; is it a known problem?  I did not have the problem with
the earlier version of wget I was using previously.

Examples:

This will retrieve the pf001014.shnf directory and its entire contents
including subdirectories:

wget --debug --output-file=test2.log -nH -r -np --cut-dirs=1 
http://www.gdlive.com/philshn/pf001014.shnf/

This will retrieve the pf001014.shnf directory, it's entire contents,
and all parallel directories and their entire contents.  (And fill up
my partition before it finishes.)

wget --debug --output-file=test1.log -nH -r -np --cut-dirs=1 
http://www.gdlive.com/philshn/pf001014.shnf


If this is a known problem, is there a patch I can apply?  Any help
would be greatly appreciated.

/jw

-- 
inet: [EMAIL PROTECTED]               | Fascism conceives of the State as an
addr: 321 High School Rd. NE  #367  | absolute, in comparison with which all
city: Bainbridge Island, Washington | individuals or groups are relative,
code: 98110-1697                    | only to be conceived of in their
icbm: 47 37 48 N / 122 29 52 W      | relation to the State.  - B. Mussolini

Reply via email to