From 03c4291cf09781988f067d912e17b0024dfcb160 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Mon, 7 Jun 2004 11:49:11 +0000 Subject: [PATCH] Fixed html download problems with long filenames --- ChangeLog | 4 ++++ mbfido/mbfindex.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index dd7d22fb..d7a7e25c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -23,6 +23,10 @@ v0.61.0 06-Jun-2004. mbtask: Prepared for ICM flag (FSP-1033). (Partly). + mbfile: + The filenames in the html pages are now the long filenames. + This fixes download problems with some mangled 8.3 filenames. + v0.60.0 09-Feb-2004 - 04-Jun-2004 diff --git a/mbfido/mbfindex.c b/mbfido/mbfindex.c index f3c9dfde..bda32dcc 100644 --- a/mbfido/mbfindex.c +++ b/mbfido/mbfindex.c @@ -645,13 +645,13 @@ void HtmlIndex(char *Lang) } } sprintf(outbuf, "%s/%s%s/%s", CFG.www_url, CFG.www_link2ftp, - area.Path+strlen(CFG.ftp_base), fdb.Name); + area.Path+strlen(CFG.ftp_base), fdb.LName); sprintf(linebuf, "%s/%s%s/.%s", CFG.www_url, CFG.www_link2ftp, - area.Path+strlen(CFG.ftp_base), fdb.Name); + area.Path+strlen(CFG.ftp_base), fdb.LName); MacroVars("fghi", "dsss", 1, outbuf, fdb.LName, linebuf); } else { sprintf(outbuf, "%s/%s%s/%s", CFG.www_url, CFG.www_link2ftp, - area.Path+strlen(CFG.ftp_base), fdb.Name); + area.Path+strlen(CFG.ftp_base), fdb.LName); MacroVars("fghi", "dsss", 0, outbuf, fdb.LName, ""); }