Aye, In the cfheader tag you are just basically specifying the 'default' name of the file that will display in the file save as dialog. Do not put the path in the header tag. However, the cfcontent need a fully qualified physical path to the file in order to serve the file.
Hope this helps, -chris -----Original Message----- From: Marlon Moyer [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 3:18 PM To: CF-Community Subject: Re: Quick question on CFHEADER?CFCONTENT I don't think you're supposed to put the fully qualified path in the cfheader tag. cfcontent must have a fully qualified path though eg. c:\docs\soft.pdf [EMAIL PROTECTED] wrote: >Also I did try type="application/pdf" and checked the path and tried no >path and nothing. Still doesn't say application type and is unable to dl >from our site. > >Tim > >-----Original Message----- >From: Timothy Heald >Sent: Friday, January 31, 2003 3:46 PM >To: CF-Community >Subject: RE: Quick question on CFHEADER?CFCONTENT > > >hey folks, can anyone tell me whats wrong with this code: > ><cfheader NAME="Content-Disposition" >VALUE="attachment;filename=x:\sitedir\soft.pdf"> ><cfcontent file="soft.pdf" type="unknown" deletefile="No"> > >-----Original Message----- >From: Timothy Heald >Sent: Friday, January 31, 2003 2:59 PM >To: CF-Community >Subject: RE: Quick question on CFHEADER?CFCONTENT > > >NM I got it. Man I wish I got to code more these days :( > >-----Original Message----- >From: Timothy Heald >Sent: Friday, January 31, 2003 2:50 PM >To: CF-Community >Subject: Quick question on CFHEADER?CFCONTENT > > >Hey, > > Anyone have a quick snippet they use in order to push out documents with >cfheader/CFCONTENT? Also on the mime type of a pdf?? > >Many thanks > >Tim > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
