Well I got to stop hanging, but now it tries to download it as a cfm page. -----Original Message----- From: Fetter, Brad [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 10:32 AM To: CF-Talk Subject: RE: force a download
Yeah the first option fixes the error, but then it just hangs! -----Original Message----- From: DURETTE, STEVEN J (AIT) [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 10:26 AM To: CF-Talk Subject: RE: force a download Just popping in on this conversation, (sorry if someone already said this), but have you tried: <cfheader name="content-disposition" value="inline;filename='4x4JEEP.jpg'"> or <cfheader name="content-disposition" value='inline;filename="4x4JEEP.jpg"'> Steve -----Original Message----- From: Fetter, Brad [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 1:16 PM To: CF-Talk Subject: RE: force a download Hmm still not working...The Cfheader doesn't like the lack of a " in the value field. <CFHEADER NAME="content-disposition" VALUE="inline; filename="4X4JEEP.jpg"> <cfcontent type="unknown" file="d:\inetpub\wwwroot\portland\medialibrary\Media\4X4JEEP.jpg" deleteFile="No"> -----Original Message----- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 8:59 AM To: CF-Talk Subject: Re: force a download Oops.....in the CFHEADER tag don't use the full path...just the name of the file you wanna push Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] --------------------------------------------------------- Macromedia Associate Partner www.macromedia.com --------------------------------------------------------- Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com ----- Original Message ----- From: "Fetter, Brad" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, June 05, 2003 8:43 AM Subject: force a download > Hmmm, I tryed to force a download of a jpg file with the following code and > browser tried to open the cfm page in Coldfusion Studio... Is there another > way to force a download? Maybe through a Metatage or Javascript? > > <cfcontent type="unknown/unknown" > file="d:\inetpub\wwwroot\portland\medialibrary\Media\4X4JEEP.jpg" > ></cfcontent> > > > > -----Original Message----- > From: Fetter, Brad [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 05, 2003 8:11 AM > To: CF-Talk > Subject: RE: force a download [was: SQL concat] > > > Thanks Jochem I will try that.. > > -----Original Message----- > From: Jochem van Dieten [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 05, 2003 1:41 AM > To: CF-Talk > Subject: Re: force a download [was: SQL concat] > > > Fetter, Brad wrote: > > > > I have video, and image library on our intranet and we want to have a > > hyperlink that will allow the > > user to download the file to their hard drive without having right click > and > > select file save as. Is there an easy way to do this? > > Use cfcontent with the mime type "application/octet-stream" (due to a > bug in IE, IE requires the mime type "unknown/unknown" (b*tching to > [EMAIL PROTECTED] about this bug is much appreciated)). > > Jochem > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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

