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

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

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

Reply via email to