There is no way to force a download in HTTP. You can only imply the
suggestion of a download by setting the type to
application/octet-stream in your cfcontent tag.
Although myself and a few others have had some good success (off list) using
hidden frames, and some cunningness.
All - I
thanks Jochem, seems to be closer. weirdly though it doesn't work the
first time I run the cfm file, it only returns the correct response when I
try a second time. Any ideas on why that is / how to correct ?
ta.
.jez
Cold Fusion wrote:
What we want to do is have the user click a link to a
Thomas Chiverton wrote:
There is no way to force a download in HTTP. You can only imply the
suggestion of a download by setting the type to
application/octet-stream in your cfcontent tag.
Although myself and a few others have had some good success (off list) using
hidden frames, and some
Cold Fusion wrote:
thanks Jochem, seems to be closer. weirdly though it doesn't work the
first time I run the cfm file, it only returns the correct response when I
try a second time. Any ideas on why that is / how to correct ?
Can you reproduce this with different browsers and if so, with
Based on what mechanism?
the great Kludge :-)
for sure it works with future browsers unless you base it on
the HTP spec?
I don't - but we can filter them out and deal with them seperetly.
~~
Structure your ColdFusion code with Fusebox. Get
-
From: Cold Fusion [mailto:[EMAIL PROTECTED]]
Sent: 26 July 2001 18:00
To: CF-Talk
Subject: forcing downloads
Hi folks..
can anyone help us out with this one, it should be so simple and I just
can't accept all the hassle we've been having to try and figure it out.
What we want to do is have
Hi folks..
can anyone help us out with this one, it should be so simple and I just
can't accept all the hassle we've been having to try and figure it out.
What we want to do is have the user click a link to a cfm file, that cfm
file then returns a file (for arguements sake a .xls file) which
PROTECTED]
dick@lacara.cc:
com Subject: RE: forcing downloads
Hi folks..
can anyone help us out with this one, it should be so simple and I just
can't accept all the hassle we've been having to try and figure it out.
What we want to do is have the user click a link to a cfm file, that cfm
file then returns a file (for arguements sake a .xls file) which
I've had a decent luck by using
cfheader name=Content-Disposition value=inline; filename=report.xls
before the cfcontent tag.
HTH
Marlon
-Original Message-
From: Cold Fusion [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 12:00 PM
To: CF-Talk
Subject: forcing downloads
Hi
PROTECTED]
cc:
Subject: forcing downloads
Hi folks..
can anyone help us out with this one, it should be so simple and I just
can't accept all the hassle we've been having to try and figure it out.
What we want to do is have the user click a link to a cfm file, that cfm
file then returns a file
Cold Fusion wrote:
What we want to do is have the user click a link to a cfm file, that cfm
file then returns a file (for arguements sake a .xls file) which starts to
download to the users machine (forcing download rather than returning to
browser).
There is no way to force a download in
12 matches
Mail list logo