Yes this is the only code on the download page!

-----Original Message-----
From: Ray Champagne [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 02, 2005 12:42 PM
To: CF-Talk
Subject: Re: Force PDF Download


Is that the only code on the download page?

Aldon Moore wrote:
> Hello People!
>
> I need to force download a pdf file but my code is trying to download the
> page that contains the script!
>
> <cfheader name="Content-disposition"
value="attachment;filename=ebook.pdf">
> <cfcontent type="application/pdf"
> file="d:/webspace/mysite.com/wwwroot/ebook/ebook.pdf">
>
> but this code fails.
>
> Is there a better solution??
>
> Aldon
>
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222954
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to