There is a bug with wget-1.5.3-4
If ftp server sets initial direcory to anything else than /
$ wget --passive-ftp
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
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.