This method forces the download, but names the file index.cfm instead of the
actual filename that you are downloading. Anyone know how to name it
properly?

Dan

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 5:18 PM
To: CF-Talk
Subject: Re: force a download - .txt file


You could just do:

<CFHEADER NAME="content-disposition" VALUE="attachment;filename=#YourFile#">

----- Original Message -----
From: "Bryan Stevenson" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, March 11, 2003 4:57 PM
Subject: Re: force a download - .txt file


>       <CFHEADER NAME="content-disposition" VALUE="inline;
> filename=#YourFile#">
>       <cfcontent type="unknown" file="#AbsoluteFilePath#"
deleteFile="Yes">





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to