RE: How to force a download rather than play?

2007-07-08 Thread Dave Watts
> > I have a member-only page with some mp3 downloads on it. I want to > > force them to download rather than attempt to play in the browser. > > There is a way to do it with IIS and Virtual Directories. If > you create a virtual directory that points to the directory > where the mp3s are (for

Re: How to force a download rather than play?

2007-07-08 Thread James Wolfe
There is a way to do it with IIS and Virtual Directories. If you create a virtual directory that points to the directory where the mp3s are (for example "mp3download") and add the following to the header in IIS, the file will be served as a download and there will be no work for the CF server.

Re: How to force a download rather than play?

2007-07-07 Thread Rick Root
the Coldfusion documentation tells you everything you need to know :) http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=0232.htm Specifically use cfcontent to set the mime type then cfheader like this: Rick ~~~

RE: How to force a download rather than play?

2007-07-07 Thread Bobby Hartsfield
Subject: How to force a download rather than play? I just know the minute I ask this i'm going to remember the answer, but .. .. I have a member-only page with some mp3 downloads on it. I want to force them to download rather than attempt to play in the browser. (these users arent very com

Re: How to force a download rather than play?

2007-07-07 Thread AJ Mercer
something like this On 7/7/07, Mike Kear <[EMAIL PROTECTED]> wrote: > > I just know the minute I ask this i'm going to remember the answer, but > .. . > > I have a member-only page with some mp3 downloads on it. I want to > force them to download rather than attempt to play in the browser

How to force a download rather than play?

2007-07-06 Thread Mike Kear
I just know the minute I ask this i'm going to remember the answer, but .. . I have a member-only page with some mp3 downloads on it. I want to force them to download rather than attempt to play in the browser. (these users arent very computer savvy and i'd rather not have to teach them right-cl

Re: Why would a cfdocument force a download?

2006-09-24 Thread James Holmes
Are you displaying it using cfcontent or some other way? On 9/25/06, Will Tomlinson <[EMAIL PROTECTED]> wrote: > I just built a cfdocument that's in a cfc. I tested it and it seems to work > fine for me with XP - IE, FF. > > dave (the worm) tested it out, and he says it's trying to download a cfm

Why would a cfdocument force a download?

2006-09-24 Thread Will Tomlinson
I just built a cfdocument that's in a cfc. I tested it and it seems to work fine for me with XP - IE, FF. dave (the worm) tested it out, and he says it's trying to download a cfm file when it loads as a pdf. Flashpaper works fine tho'. Anybody have any ideas? Thanks, Will ~~

RE: force a download

2003-06-06 Thread David Collie (itndac)
Have you tried saving it even though it sez it's a .cfm anyway? I foggily remember it saying it was a .cfm but when you said OK it actually downloaded the correct CSV file (in my case)... other than that, Im oot of ideas, soz :-( > Well in the case of the Jpg, I am trying to download it goes > d

RE: force a download

2003-06-06 Thread Fetter, Brad
-Talk Subject: RE: force a download Same again, just coming in at the tail end of this (having deleted all previous messages) this any good? Remember spending a day a few months ago on this and this seemed to work for all versions of IE that we tested it on (5 and above I

RE: force a download

2003-06-06 Thread David Collie (itndac)
not working...The Cfheader doesn't like the lack of > a " in the value field. > > >file="d:\inetpub\wwwroot\portland\medialibrary\Media\4X4JEEP.jpg" > deleteFile="No"> > > > > > Hmmm, I tryed to force a download of a jpg file wi

RE: force a download

2003-06-06 Thread Fetter, Brad
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

RE: force a download

2003-06-06 Thread Fetter, Brad
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

RE: force a download

2003-06-06 Thread DURETTE, STEVEN J (AIT)
Just popping in on this conversation, (sorry if someone already said this), but have you tried: or 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

RE: force a download

2003-06-06 Thread Fetter, Brad
Hmm still not working...The Cfheader doesn't like the lack of a " in the value field. -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

Re: force a download

2003-06-06 Thread Bryan Stevenson
;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 t

Re: force a download

2003-06-06 Thread Bryan Stevenson
.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 Sub

Re: force a download

2003-06-06 Thread Jochem van Dieten
Fetter, Brad wrote: > 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? You need to add a header for the filename:

force a download

2003-06-06 Thread Fetter, Brad
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? -Original Message- From: Fetter, Brad [mailto:[EMAIL PROTECTED] Sent

RE: force a download [was: SQL concat]

2003-06-06 Thread Fetter, Brad
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 w

Re: force a download [was: SQL concat]

2003-06-05 Thread Jochem van Dieten
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 "ap

RE: force a download - .txt file

2003-03-17 Thread Dan O'Keefe
: Re: force a download - .txt file You could just do: - Original Message - From: "Bryan Stevenson" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, March 11, 2003 4:57 PM Subject:

Re: force a download - .txt file

2003-03-12 Thread E. Keith Dodd
Trying to force a download using cfcontent and input from last week thread. Below is full download page's code. 1. Works properly, forcing download with a txt, a pdf, .xls, .doc 2. If item is .jpg, get in IE6 "An error occurred while attempting to open the file. Windows NT error number

Re: force a download - .txt file

2003-03-11 Thread stas
You could just do: - Original Message - From: "Bryan Stevenson" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, March 11, 2003 4:57 PM Subject:

RE: force a download - .txt file

2003-03-11 Thread Ryan Emerle
-R -Original Message- From: Wurst, Keith D. [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 4:52 PM To: CF-Talk Subject: force a download - .txt file Hi everyone. I am trying to force a "save as" box in IE when a user clicks on a link that creates a .txt file. What keeps

Re: force a download - .txt file

2003-03-11 Thread Bryan Stevenson
.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: "Wurst, Keith D." <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, March 11, 2003 1:52 PM Subj

force a download - .txt file

2003-03-11 Thread Wurst, Keith D.
Hi everyone. I am trying to force a "save as" box in IE when a user clicks on a link that creates a .txt file. What keeps happening is that the browser will open the .txt file and display it - when what I really want is for the user to be prompted with a "save as" box. Has anyone figured out a way