Hi Dave

Try  added this before your Cfcontent tag:

to display in the browser:

<cfheader name="Content-Disposition" value="inline; filename="XYZ.txt">

to download :

<cfheader name="Content-Disposition" value="attachment; filename="XYZ.txt">


~JustinMacCarthy


----- Original Message -----
From: "Dave Hannum" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, July 28, 2000 12:50 PM
Subject: CFContent MIME Types


> Is there a list of the different MIME types that should be used with
> CFContent?  I'm returning a .txt file, but when it comes up on the user's
> machine, it comes up with the name of the script (script.cfm) instead of
the
> file name (xyz.txt).  I think it has something to do with the MIME type in
> the CFContent tag.
>
> Thanks,
> Dave
>
>
> =================================
> "What we need is a list of specific unknown problems we will encounter"
>
> David Hannum
> Web Analyst/Programmer
> Ohio University
> [EMAIL PROTECTED]
> (740) 597-2524
>
>
>
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
>

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to