Thanks Phil...that's going to help me for sure ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

---------------------------------------------------------
Macromedia Associate Partner
www.macromedia.com
---------------------------------------------------------
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
----- Original Message -----
From: "Phil Cruz" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 4:05 PM
Subject: file download bug with Netscape 7


> --=====================_6494909==.ALT
> Content-Type: text/plain; charset="us-ascii"; format=flowed
>
> I just ran across a bug with NS7 where it appends the file ext of the
> template to the end of the filename to be downloaded.  So if you have a
> download.cfm template like
>
> <cfheader name="content-disposition" value="attachment;
filename=#filename#">
> <cfcontent type="#FileType#" file="#Filepath#" deletefile="no">
>
> and the filename is "installer.exe" it will appear in the save as dialogue
> as "installer.exe.cfm"
>
> This is a bug in NS 7 which is documented at
>
> http://bugzilla.mozilla.org/show_bug.cgi?id=172693
>
> The fix is explained there which is to append a f_ext parameter to the url
> so the url will be like
>
>
>
<http://example.com/download.php/test?f_ext=/test.doc>http://example.com/dow
nload.cfm/test?f_ext=/test.doc
>
> Hope that helps someone,
> -Phil
> --=====================_6494909==.ALT
> Content-Type: text/html; charset="us-ascii"
>
> <html>
> <body>
> I just ran across a bug with NS7 where it appends the file ext of the
> template to the end of the filename to be downloaded.&nbsp; So if you
> have a download.cfm template like<br><br>
> &lt;cfheader name=&quot;content-disposition&quot;
> value=&quot;attachment;&nbsp; filename=#filename#&quot;&gt;<br>
> &lt;cfcontent type=&quot;#FileType#&quot; file=&quot;#Filepath#&quot;
> deletefile=&quot;no&quot;&gt; <br><br>
> and the filename is &quot;installer.exe&quot; it will appear in the save
> as dialogue as &quot;installer.exe.cfm&quot;<br><br>
> This is a bug in NS 7 which is documented at <br><br>
> <a href="http://bugzilla.mozilla.org/show_bug.cgi?id=172693";
eudora="autourl">http://bugzilla.mozilla.org/show_bug.cgi?id=172693</a><br><
br>
> The fix is explained there which is to append a f_ext parameter to the
> url so the url will be like<br><br>
> <br>
> <pre><a
href="http://example.com/download.php/test?f_ext=/test.doc";>http://example.c
om/download.cfm/test?f_ext=/test.doc</a>
>
> </pre><font face="Courier New, Courier">Hope that helps someone,<br>
> -Phil</font></body>
> </html>
>
> --=====================_6494909==.ALT--
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to