On Fri, 9 Jun 2000, ethan mindlace fremen wrote:

> Paul Gresham wrote:
> > 
> > Excellent, thanks Bryan. I have another question? Do you have problems with
> > browsers not obtaining the correct filenames of attachments when they are
> > downloaded, i.e. the file becomes ATT0002.DAT or similar? I have this
> > problem and also if I choose to download a file and then cancel the dialog,
> > everything seems to get stuck, and I have to close the browser and start
> > again.
> 
> I have the same problem.  All attachments, when downloaded, become "getpart".  A
> simple rename works, but I find it highly obnoxious.

Ok, I fixed the problem with files trying to be saved as ATT0001.DAT, but
they're still messed up in Mozilla (which your using, right ethan?) where
they save as getpart (I think this is a Mozilla bug, and not a WorldPilot
bug). I also fixed the bug where if it's an image (jpeg, gif, etc.) it
gets displayed instead of downloaded.  I've attached the patch which fixes
both of these problems.

I also have new RPMs of WorldPilot that has all of my patches applied so
far here: http://www.verinet.com/~arcane/worldpilot/

Bryan

-- 
http://www.tummy.com/ Consulting and Software for Linux and Unix
KRUD - Kevin's Red Hat Uber Distribution - the Freshest Red Hat every month

--- WorldPilot.vanilla/Resource.py      Fri Mar 10 12:36:00 2000
+++ WorldPilot.mine/Resource.py Tue Jun 13 11:40:51 2000
@@ -4587,7 +4587,7 @@
 </FONT>
 </B><!--#endif-->&nbsp;</FONT></td>
           <td bgcolor="<!--#var COLORTable-->" NOWRAP><!--#var 
FONTTable-->&nbsp;<INPUT TYPE=CHECKBOX NAME="Messages:list" VALUE="<!--#var 
UID-->"></FONT></td>
-          <td bgcolor="<!--#var COLORTable-->" NOWRAP><!--#var FONTTable-->&nbsp;<A 
HREF="<!--#if expr="'\\Draft' in 
Flags"-->prog?DraftSource=Draft&<!--#else-->prog?<!--#endif-->ViewMsg=1&Message=<!--#var
 UID--><!--#if expr="REQUEST.has_key('Folder')"-->&Folder=<!--#var 
Folder--><!--#endif--><!--#if expr="REQUEST.has_key('Index')"-->&Index=<!--#var 
Index--><!--#endif--><!--#if expr="REQUEST.has_key('Order')"-->&Order=<!--#var 
Order--><!--#endif--><!--#if expr="REQUEST.has_key('ListSize')"-->&ListSize=<!--#var 
ListSize--><!--#endif--><!--#if 
expr="REQUEST.has_key('query_start')"-->&query_start=<!--#var 
query_start--><!--#endif-->" DisTarget="Message<!--#if 
expr="REQUEST.has_key('Folder')"--><!--#var Folder--><!--#endif--><!--#var 
UID-->"><!--#var FONTTableLink--><!--#if expr="Subject==''"-->--<!--#else--><!--#var 
Subject size=25 etc="..." html_quote--><!--#endif--></FONT></A>&nbsp;</FONT></td>
+          <td bgcolor="<!--#var COLORTable-->" NOWRAP><!--#var FONTTable-->&nbsp;<A 
+HREF="<!--#if expr="'\\Draft' in 
+Flags"-->prog?DraftSource=Draft&<!--#else-->prog?<!--#endif-->ViewMsg=1&Message=<!--#var
+ UID--><!--#if expr="REQUEST.has_key('Folder')"-->&Folder=<!--#var 
+Folder--><!--#endif--><!--#if expr="REQUEST.has_key('Index')"-->&Index=<!--#var 
+Index--><!--#endif--><!--#if expr="REQUEST.has_key('Order')"-->&Order=<!--#var 
+Order--><!--#endif--><!--#if expr="REQUEST.has_key('ListSize')"-->&ListSize=<!--#var 
+ListSize--><!--#endif--><!--#if 
+expr="REQUEST.has_key('query_start')"-->&query_start=<!--#var 
+query_start--><!--#endif-->" DisTarget="Message<!--#if 
+expr="REQUEST.has_key('Folder')"--><!--#var Folder--><!--#endif--><!--#var 
+UID-->"><!--#var FONTTableLink--><!--#if expr="Subject==''"-->--<!--#else--><!--#var 
+Subject size=35 etc="..." html_quote--><!--#endif--></FONT></A>&nbsp;</FONT></td>
           <!--#if expr="REQUEST.has_key('Folder') and Folder=='INBOX.Sent'"-->
             <td bgcolor="<!--#var COLORTable-->" NOWRAP><!--#var 
FONTTable-->&nbsp;<!--#if ToName--><!--#var ToName--><!--#else--><!--#var 
ToAddress--><!--#endif-->&nbsp;</FONT></td>
           <!--#else-->
@@ -4786,7 +4786,7 @@
       <!--#if BodyAttachment-->
         <tr>
           <td bgcolor="#FFFFFF" colspan=2><table border=0 cellpadding=3 
cellspacing=0><tr><td><!--#var FONTTable--><FONT color="#404040">
-          <A HREF="getpart?Message=<!--#var Message--><!--#if 
expr="REQUEST.has_key('Folder')"-->&Folder=<!--#var Folder--><!--#endif--><!--#if 
BodyEncoding-->&MimeEncoding=<!--#var BodyEncoding url_quote--><!--#endif--><!--#if 
BodyType-->&AttType=<!--#var BodyType url_quote--><!--#endif--><!--#if 
BodySubType-->&AttSubType=<!--#var BodySubType url_quote--><!--#endif--><!--#if 
BodyPart-->&Part=<!--#var BodyPart--><!--#endif--><!--#if BodyDisposition--><!--#with 
BodyDisposition--><!--#if 
expr="PartDispositionAttrMap.has_key('FILENAME')"-->&FileName=/<!--#var 
expr="PartDispositionAttrMap['FILENAME']"--><!--#endif--><!--#/with--><!--#endif-->">
+          <A HREF="getpart?Message=<!--#var Message--><!--#if 
+expr="REQUEST.has_key('Folder')"-->&Folder=<!--#var Folder--><!--#endif--><!--#if 
+BodyEncoding-->&MimeEncoding=<!--#var BodyEncoding url_quote--><!--#endif--><!--#if 
+BodyType-->&AttType=<!--#var BodyType url_quote--><!--#endif--><!--#if 
+BodySubtype-->&AttSubType=<!--#var BodySubtype url_quote--><!--#endif--><!--#if 
+BodyPart-->&Part=<!--#var BodyPart--><!--#endif--><!--#if BodyDisposition--><!--#with 
+BodyDisposition--><!--#if 
+expr="PartDispositionAttrMap.has_key('filename')"-->&FileName=/<!--#var 
+expr="PartDispositionAttrMap['filename']"--><!--#endif--><!--#/with--><!--#endif-->">
 #          Download Attachment
           Attachment downloaden
           </A>

Reply via email to