2001-01-09 Dan Harkless <wget@harkless.org>
* TODO: If -c is on, don't re-download a 100%-downloaded file.
+ Also, the bug where you couldn't recurse into ftp directories if
+ logging in put you somewhere else besides the server's "/"
+ directory got fixed without the TODO entry for it being removed.
2001-01-06 Dan Harkless <wget@harkless.org>
* Make -K compare X.orig to X and move the former on top of the latter if
they're the same, rather than leaving identical .orig files laying around.
-* Allow mirroring of FTP URLs where logging in puts you somewhere else besides
- '/'.
-
* If CGI output is saved to a file, e.g. cow.cgi?param, -k needs to change the
'?' to a "%3F" in links to that file to avoid passing part of the filename as
a parameter.
* url.c (write_backup_file): Clarified a comment.
+ * ftp.c (ftp_retrieve_dirs): I don't see a ChangeLog entry for
+ this, but the bug where recursion into FTP directories didn't work
+ if logging in put you in a directory other than "/" is apparently
+ fixed now. Removed the comment here warning of the bug.
+
2001-01-06 Dan Harkless <wget@harkless.org>
* ChangeLog: The '[Not in 1.6 branch.]'s were decided not to be
if (len > current_length)
current_container = (char *)alloca (len);
u->dir = current_container;
- /* When retrieving recursively, all directories must be
- absolute. This restriction will (hopefully!) be lifted in
- the future. */
sprintf (u->dir, "/%s%s%s", odir + (*odir == '/'),
(!*odir || (*odir == '/' && !* (odir + 1))) ? "" : "/", f->name);
if (!accdir (u->dir, ALLABS))