I don't recall a need for the dot within the content type of the MIME spec.
Try "text/csv"

The format is "content type/subtype"
Here is a list of many mime types:
http://www.iana.org/assignments/media-types/

Also, I do not use quotes about the file name.

Here is a set of tags that works for me:
<cfheader name="Content-Disposition" value="attachment; filename=#reportFileName#">
<cfcontent type="text/csv" file="#fileTargetPathFile#" deletefile="true">

The problem might also have something to do with your SSL setup. Test using http first, and then https. Investigate whether or not your production environment has a different file system or network setup than your development environment. For example, if you have one request that creates the file, and another one to download it, you could be hitting different machines in a clustered environment.

Al Holden

On 5/5/2010 4:49 AM, Mark Vallely wrote:
(snip)
<cfheader name="Content-Disposition" value='attachment;
filename="Export.cvs"'>
         <cfcontent type="text/.csv" variable="#mainCVS#">

--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
mailing list - http://groups.google.com/group/openbd?hl=en

!! save a network - please trim replies before posting !!

Reply via email to