For people who (like me) prefer to see symlinks, I have a trivial patch that
makes them visible:
--- ftpget.c.old Sat Mar 7 16:04:55 1998
+++ ftpget.c Sat Mar 7 16:25:23 1998
@@ -1880,7 +1880,7 @@
}
p->name = xstrdup(t);
if ((t = strstr(p->name, " -> "))) {
- *t = '\0';
+ /* *t = '\0'; */
p->link = xstrdup(t + 4);
}
}
@@ -2037,6 +2037,8 @@
case 'l':
sprintf(icon, "<IMG SRC=\"%sgopher-%s%s\" ALT=\"%-6s\">",
o_iconprefix, mime_get_icon(parts->link), o_iconsuffix, "[LINK]");
+ xfree(ename);
+ ename = xstrdup(rfc1738_escape(parts->link));
sprintf(link, "<A HREF=\"%s\">%s</A>%s",
ename,
parts->showname,
This basically prevents ftpget from cutting off the " -> <destination>"
part of a symlink and uses the destination in the anchor (this last part
implies that caching might work a little bit better, while it might cause some
symlinks to fail because the "../../" processing is then done done in the
browser).
Stefan
Received on Thu Mar 12 1998 - 10:15:28 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:21 MST