What fails? Do you get a message? Is it in IE and Firefox or just IE? -----Original Message----- From: Aldon Moore [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 02, 2005 11:54 AM To: CF-Talk Subject: Force PDF Download
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:222917 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54