[wget-notify] [bug #20519] -np requires / at end of dir,
otherwise it downloads hierarchy too much
Micah Cowan
INVALID.NOREPLY at gnu.org
Wed Jul 18 13:09:28 PDT 2007
Update of bug #20519 (project wget):
Planned Release: None => 1.12
_______________________________________________________
Follow-up Comment #1:
HTTP has no distinction between directories and files; there is no way for
wget to detect that http://example.com/foo/bar is a "directory" rather than a
file; they're all just components. Note, too, that in the case without the
final slash, wget will download it to a file named ".../foo/bar", not
".../foo/bar/index.html".
The exception is that, typically (and, specifically, in the specific example
given in the debian bug you linked), a web server will automatically redirect
URIs like "http://example.com/foo/bar" to "http://example.com/foo/bar/"; so I
suppose that in this case wget could automatically detect that the web server
treated it like a directory, and readjust its thinking accordingly.
Tentatively targeting at 1.12.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?20519>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
More information about the wget-notify
mailing list