]> sjero.net Git - wget/commit
[svn] Fix retrieval of directories when initial CWD is not `/'.
authorhniksic <devnull@localhost>
Wed, 11 Apr 2001 00:24:59 +0000 (17:24 -0700)
committerhniksic <devnull@localhost>
Wed, 11 Apr 2001 00:24:59 +0000 (17:24 -0700)
commit963863113f53c23446d50cf6224096718b9367bb
tree14b210451c7bb86c2fecc7fad6e38fe548426645
parent90a26b7987e79ade30e076d258dbd14371df78b8
[svn] Fix retrieval of directories when initial CWD is not `/'.
Published in <sxsitkc709p.fsf@florida.arsdigita.de>.

* url.c (parseurl): Don't strip trailing slash when u->dir is "/"
because that strips the *leading* slash, thus forcing relative
FTP retrieval.
* ftp.c (getftp): Convert initial FTP directory from VMS to UNIX
notation for VMS servers.
(ftp_retrieve_dirs): Do not prepend '/' to f->name when
odir is an empty string.
src/ChangeLog
src/ftp.c
src/url.c