I think this issue came up in last week's cfcontent discussion. FYI Here's my code:
<cfset variables.FileToPush=attributes.FilePath&attributes.FileName>
<cfif FileExists(variables.FileToPush)>
<cfheader
name="Content-Disposition"
value="attachment; filename="""#attributes.FileName#""">
<cfcontent
type="application/unknown"
file=#variables.FileToPush#>
<cfelse>
<center><h1>Sorry, File Does Not Exist</h1></center>
<cfoutput>
Please <A HREF="mailto:#attributes.MailTo#">contact us</A> and we'll resolve
the problem immediately.
</cfoutput>
<cfabort>
</cfif>
Note the extra quotes around the value in cfheader. I believe it was Jochem who said
these will fix the Netscape issue. Haven't had a chance to try it yet.
--
-------------------------------------------
Matt Robertson, [EMAIL PROTECTED]
MSB Designs, Inc. http://mysecretbase.com
-------------------------------------------
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
http://www.cfhosting.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4