Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 9147 - wget does not set ftp path correctly
wget does not set ftp path correctly
Product: Red Hat Linux
Classification: Retired
Component: wget (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 2000-02-05 13:15 EST by mal
Modified: 2014-03-16 22:12 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-02-07 10:43:24 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description mal 2000-02-05 13:15:59 EST
There is a bug with wget-1.5.3-4
If ftp server sets initial direcory to anything else than /

$ wget --passive-ftp
           => `samba-2.0.6-6.src.rpm'
Connecting to rawhide.redhat.com:21... connected!
Logging in as anonymous ... Logged in!
==> TYPE I ... done.  ==> CWD pub/rawhide/SRPMS/SRPMS ...
No such directory `pub/rawhide/SRPMS/SRPMS'.

The directory exists, but wget misses starting / in pub/rawhide/SRPMS/SRPMS

Comment 1 Nalin Dahyabhai 2000-02-07 06:46:59 EST
Try specifying the URL as:

Wget's behavior in this case is consistent with my reading of section 3.2.2
of RFC 1738, which states that the '/' separating the hostname from the
directory is not to be taken as part of the path, and that each part of the
path needs to be supplied as the argument of a "cwd" command given to the server
after the client is connected.  I'd agree it's somewhat annoying, though.

Note You need to log in before you can comment on or make changes to this bug.