Okay, this is only slightly off topic but I don't know where else to look
for answers.
I built a spreadsheet export that uses CFContent to create an Excel
spreadsheet. I'm using CSS in that file to border some of the cells to
create a cleaner output look to the sheet. We've bee
minary piece of code.
Trust me, you don't need the CFOUTPUT tags. In my experience, it's pretty
common that when you're working with CFCONTENT code, and testing in IE, the
initial request often just displays the raw data in the browser, but this
won't occur for your users once y
y for the word usage I have been working on byte streaming on another
project...information overload.
S
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 2:11 PM
To: CF-Talk
Subject: RE: Stream PDF using CFCONTENT
> Well, I solved it...her
> Well, I solved it...here is the code below in case anyone else
> needs to do something like this
>
> It is not complete but it works. Need to add some param defaults
> and the such.
>
> ...
>
>
>
> type="application/pdf" deletefile="Yes">
>
In my experience, this would return a PDF in
t; deletefile="Yes">
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 12:13 PM
To: CF-Talk
Subject: RE: Stream PDF using CFCONTENT
> Anyone done this, I can't remember how
To the best of my knowledge, t
> Anyone done this, I can't remember how
To the best of my knowledge, this isn't possible through CFCONTENT. If you
want to byte-serve PDF files, you'll have to do this through your web
server, or use something other than CF.
Dave Watts, CTO, Fig Leaf Software
http://www.
Anyone done this, I can't remember how
Thanks,
Steve
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
I am sending out emails that contain a link to a page that serves up a file
for the user to download via cfheaaer and cfcontent.
name="Content-Disposition" value="attachment;
filename=#selectDoc.documentName#">
file="#request.docPath##selectDoc.documentName#&qu
I'm using cfcontent to serve up a file not in the wwwroot folder of my site.
I also have a script that emails me every time an error occurs on the site.
This is the code used to serve out the file:
This works well except for one thing -- if I cancel the file download, I
receive an
Place the following line before your CFCONTENT tag and replace
therealfilename with the name of your file... All will be well.
value="attachment;filename=therealfilename">
Yours
Paul Vernon
http://www.web-architect.co.uk
t: +44 (0)844 779 9797
m: +44 (0)7887 952591
f: +44 (0)8
Hey everyone,
With CFCONTENT, my downloads are getting renamed?
I've got a form submit (for a EULA) that goes to a page that uses CFCONTENT.
1. The user chooses the file from a list of links (filename is passed to the next page)
2. This page is the EULA form that has a hidden field fo
2003 19:56
Aan: CF-Talk
CC:
Onderwerp: RE: CFCONTENT/CFHEADER woes
I've always used this style:
Chris
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
> I've always used this style:
>
>
>
>
> Chris
Thanks, Chris. That seems to do the trick.
Jim
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[EMAIL PROTECTED] wrote:
>
>
DELETEFILE="NO">
>
> This should cause the browser to prompt to download the file rather then
try to
> open it, yes?
> But I can't seem to get it to work. It just displays the unformatted
contents of
> the document, like this kind of stuff:
>
> ÐÏࡱ
[Todays Thread
I've always used this style:
Chris
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 1:00 PM
To: CF-Talk
Subject: CFCONTENT/CFHEADER woes
Ok, I was searching the archives for a way to force a file to download (rather then op
> Ok, I was searching the archives for a way to force a file to
> download (rather then open in the browser) and came up with
> this code:
>
>
>
> FILE="E:\path\new.doc" DELETEFILE="NO">
>
> This should cause the browser to prompt to download the file
> rather then try to open it, yes? But
Ok, I was searching the archives for a way to force a file to download (rather then open in the browser) and came up with this code:
This should cause the browser to prompt to download the file rather then try to open it, yes?
But I can't seem to get it to work. It just displays the unformat
Howdy and thanks.
I needed to add , and all is well in the Mac world.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- CFCONTENT not retrieving PDF files on Mac
I think you are probably getting the content correctly, but it's
/naming/ the file content_retriever.cfm.
Save it and see what you get.
As for a workaround, I know I saw a fix for this somewhere on the list
long ago, so someone knows, but I don'
ames Milks wrote:
> Hi all,
> I created a site which lists articles in PDF format. If a user is logged
> in, I make links out of the article names, and use CFCONTENT to retrieve
> the files which are stored off of the web root.
>
> Everything is ok on Windows, but wit
Hi all,
I created a site which lists articles in PDF format. If a user is logged in, I make links out of the article names, and use CFCONTENT to retrieve the files which are stored off of the web root.
Everything is ok on Windows, but with IE 5.2 on Mac, it tries to download the file specified in
Hi all,
I've just migrated a site from CF5 to CFMX. All is working great, except for one little thing (as always...). There's a script that pulls formatted text from the database and delivers it to the user as an rtf document using cfcontent. The text is pasted from Word into htmlar
I'm confused about the interaction of Flash Player 7 domain security and the
ColdFusion CFCONTENT tag.
I'm using CFCONTENT to load images from above my site root into a Flash
loader component. I can assign a contentPath value of
"http://mydomain.com/page.cfm?image=image.jpg"
:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 3:52 PM
To: CF-Talk
Subject: RE: CFContent and PDF problems
Thanks for the reply. I've added "inline;" and "attachement;" to the value
of the CFHeader tag - neither one made a difference in the behaviour.
I read throug
Not sure what's wrong with a regular hyperlink to the PDF file if you
want to "push files to a client page"?
DELETEFILE="no">
...works for us with PDF's and brings up the "save as" box.
Shawn Grover wrote:
>
> We're using a CFContent t
or the reply, but I'm still looking for a solution (digging on
my side, as well as hoping someone on the list might be able to help out).
Shawn
-Original Message-
From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 1:12 PM
To: CF-Talk
Subject: RE:
session variable.
Johan Steenkamp
www.assetnow.com
- Original Message -
From: James Milks
To: CF-Talk
Sent: Thursday, October 09, 2003 8:24 AM
Subject: Hiding file name passed to CFCONTENT
Hi,
Yet another cfontent question: How do I hide the name of the file I am passing
Hi,
Yet another cfontent question: How do I hide the name of the file I am passing to a CF content tag. For example, I have a listing of rows with links to several PDF files. I want to avoid putting the absolute path in the link in case someone looks at the source. Paranoid?
Anyhow, I messed aroun
>We're using a CFContent to push files to a client page (after they've
>clicked on an appropriate link of course). Things are working for image
>files, but we are getting odd behaviour when we try to view PDF documents.
>
>Here's the code in question
etails.
--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/
-Original Message-
From: Shawn Grover [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 12:52 PM
To: CF-Talk
Subject: CFContent and PDF problems
We
We're using a CFContent to push files to a client page (after they've
clicked on an appropriate link of course). Things are working for image
files, but we are getting odd behaviour when we try to view PDF documents.
Here's the code in question:
and the supportin
I have an acrobat file 900K which I want to automatically start a download
to a client machine when a person clicks a link. Through v6.0 of CFMX, the
code listed below worked great for both IE 6 and NS6 & 7. Now, it seems
like since I've upgrade to CFMX 6.1 on the server, the file downloaded is 0
I have a library of files on my web site. All files are stored in a
Microsoft SQL Server 2000 database. We are using the cfx_getimage custom tag
to retrieve files from the database and then cfcontent to display the files.
My problem is that we are getting a ton of socket write errors when the get
Hello Everybody,
I'm trying to get ColdFusion to display unicode data
in a csv file. I'm using the CFCONTENT tag to open the
csv file passing it the content. When the data is
viewed in the csv file, the content with special
characters is not displayed in utf encoded format. Is
there
Hi all,
I have a problem with a really short time frame to serve up a file. I
created a page with just a cfcontent that looks like this:
The problem is that when a person clicks on the link they get a box to save
a file with the name of myfile.cfm (the name of the cf page with the
cfcontent
And In CF4.5.1 that same code is working fine and opening excel document
also..
Am I doing anything wrong here in cfmx.. or do we need to change then syntax
of cfcontent tag in cfmx version.
Really appreciate for suggestions also..
Tha
We're getting an intermittent error from cfcontent. Here's what the error reports:
The cause of this output exception was that: java.net.SocketException: Connection
reset by peer: socket write error.
We have not been able to reproduce the problem, but enough people are receiving the
You just need to put in a cfheader tag just before the cfcontent tag...
HTH,
Alex
> -Original Message-
> From: DURETTE, STEVEN J (AIT) [mailto:[EMAIL PROTECTED]
> Sent: 05 August 2003 15:58
> To: CF-Talk
> Subject: serving a file for download with cfcontent.
>
&
And In CF4.5.1 that same code is working fine and opening excel document
also..
Am I doing anything wrong here in cfmx.. or do we need to change then syntax
of cfcontent tag in cfmx version.
Really appreciate for suggestions also..
Thanks
-Original Message-
From: Ramesh Deva [mai
THANK YOU!
This worked perfectly! (after I noticed that .xls was in the header instead
of .exe! :-/ )
-Original Message-
From: A.Little [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 11:03 AM
To: CF-Talk
Subject: RE: serving a file for download with cfcontent.
You just
use this to upload you file
~|
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/cold
You might be interested to take a look at a presentation made at the recent CFEurope
conference on this very subject.
Give lots of examples and some tricks with CFCONTENT.
See link below.
http://www.cf-europe.org/preso/amanning/169406/index.html
03 19:50
To: CF-Talk
Subject: CFCONTENT Problem
Once again I find myself running to you for help! Boy am I glad you're
here!
Okey doke; I want to push the results of a query out to a delimited list (or
excel, or ms word) such that someone can click on a link and download a .txt
(.xls, .do
: David Sampson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 1:50 PM
To: CF-Talk
Subject: CFCONTENT Problem
Once again I find myself running to you for help! Boy am I glad you're
here!
Okey doke; I want to push the results of a query out to a delimited list (or
excel, or ms
Once again I find myself running to you for help! Boy am I glad you're
here!
Okey doke; I want to push the results of a query out to a delimited list (or
excel, or ms word) such that someone can click on a link and download a .txt
(.xls, .doc) file.
I'm able, using cfcontent tag t
Hello CFers -
Has anyone been successful using the deletefile attribute of cfcontent
to delete a file?
The following code does not delete the file for me using Cold Fusion 5.
I know that I can use a cfdirectory and cffile to check the directory
for older pdfs and clean them up
I should clarify this by saying it works perfectly on CF 5 and hangs the
plugin with MX in both IE6 and NS7.
It's also entirely asside from the query of query issue.
Is anyone else having any luck returning urlencoded data to a Flash MX
loadVars object with using CF
Is anyone else having any luck returning urlencoded data to a Flash MX
loadVars object with using CF MX? On my system it just seems to
hang my copy of the Flash plugin for the page.
s. isaac dealey954-776-0046
new epoch http://www.turnkey.to
lead architect,
ch 07, 2003 11:51 AM
Subject: RE: cfcontent problem
> > Ok that didn't seem to help much. I just cant seem to get
> > any file to download with the type set to application/unknown.
>
> Maybe you should post your code, and/or a public URL that people can get
to.
>
>
> Ok that didn't seem to help much. I just cant seem to get
> any file to download with the type set to application/unknown.
Maybe you should post your code, and/or a public URL that people can get to.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 79
, March 07, 2003 10:09 AM
Subject: Re: cfcontent problem
> David Watts posted this ages ago.. I use it for reference...
>
> http://www.figleaf.com/demo/mimetest/
>
> ~Todd
>
> At 09:46 AM 3/7/2003 -0600, you wrote:
> >We are using cfcontent with the absolute path in it. The
David Watts posted this ages ago.. I use it for reference...
http://www.figleaf.com/demo/mimetest/
~Todd
At 09:46 AM 3/7/2003 -0600, you wrote:
>We are using cfcontent with the absolute path in it. The mime type is set to
>unknown so it will download. Could it be an issue with ColdFusi
We are using cfcontent with the absolute path in it. The mime type is set to
unknown so it will download. Could it be an issue with ColdFusion and
permisions on unkown mime types?
Phillip B.
- Original Message -
From: "Todd" <[EMAIL PROTECTED]>
To: "CF-Talk"
Are you doing this via ? If so, that's a absolute path, not a
relative one.
~Todd
At 09:06 AM 3/7/2003 -0600, you wrote:
>I tried to send a few email yesterday that never came through so i will
>try it again.
>
>I have some code that forces the download of a jpg. The file is in a
>virtual dir
I tried to send a few email yesterday that never came through so i will try it again.
I have some code that forces the download of a jpg. The file is in a virtual directory
I setup in IIS on Win2k. The problem is when you click the link to have it download I
get an error saying It cannot downloa
If I understand correctly, you're using CFCONTENT inappropriately.
Essentially, CFCONTENT as I believe you're using it, "pretends" that it is
an image file. It doesn't generate an HTML IMG tag, it generates an image.
So, the following (cust
> I am calling CFContent inside a custom tag
> (dsp_showimage) where I display image and
> then delete it using cfcontent. The page
> (dsp_showallproducts.cfm) which is calling
> that custom tag has got loop inside it. Now
> problem I am having is that I can only see
>
I am calling CFContent inside a custom tag (dsp_showimage) where I
display image and then delete it using cfcontent. The page
(dsp_showallproducts.cfm) which is calling that custom tag has got loop
inside it. Now problem I am having is that I can only see image which is
being deleted afterwards
(I sent this a couple of hours ago, but it doesn't seem to have made it.
Please forgive the re-post)
That is all the code that is in the template. It works fine on our dev box,
but fails on our production server. I have compared the files on both and
they are synched. The o
help with this problem.
Thanks,
KeAnne
>From: <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: RE: cfcontent and excel problem
>Date: Wed, 26 Feb 2003 09:53:50 -0600
>
>We ran into this issue. Our company standard is still
;To: CF-Talk
>Subject: cfcontent and excel problem
>
>
>I have created an application that uses cfcontent to generate an Excel
>spreadsheet of the user's query results. Believe it or not,
>we have a few
>users who are still using Office 97, and they have encountered
>pro
I have created an application that uses cfcontent to generate an Excel
spreadsheet of the user's query results. Believe it or not, we have a few
users who are still using Office 97, and they have encountered problems
opening these files when the file size is about 2MB and larger. We
Fuzion - CFTalk wrote:
> Hmm, attach has always worked for me, maybe it defaults to it?
That would be browser dependent. I think that browsers are supposed to
ignore incorrect/unspecified headers, so it should result in the
document being opened in the browser. But as I said, I usually don't
bo
Hmm, attach has always worked for me, maybe it defaults to it?
Darryl
-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED]]
Posted At: Monday, 20 January 2003 10:38 PM
Posted To: CFTalk
Conversation: Cfcontent force download
Subject: Re: Cfcontent force download
Fuzion
Fuzion - CFTalk wrote:
> Sorry formatting of last email went funny --
>
> Add this before the cfcontent tag:
>
> value="attach;filename=""#filename#""">
Not attach, attachment (RFC 2616, section 19.5.1).
Jochem
~~~
Sorry formatting of last email went funny --
Add this before the cfcontent tag:
Change 'attach' to 'inline' to see it in the browser window.
Darryl
-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED]]
Posted At: Monday, 20 January 2003 12:59
Add this before the cfcontent tag:
Change 'attach' to 'inline' to see it in the browser window.
Darryl
-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED]]
Posted At: Monday, 20 January 2003 12:59 PM
Posted To: CFTalk
Conversation: Cfcontent fo
Eric Hoffman wrote:
> file="bal\vcards\#fullname#.vcf">
>
> This is what I did, but still see in the browser window.
You could also try unknown/unknown or just unknown (usually don't bother
with defective browsers, so I'm not sure).
> How do I add
> content-disposition, etc...tha
van Dieten [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 19, 2003 8:44 PM
To: CF-Talk
Subject: Re: Cfcontent force download
Eric Hoffman wrote:
> This is probably easy and am missing something...
>
> I have vcards created with new contacts in our contact manager, which
>
Eric Hoffman wrote:
> This is probably easy and am missing something...
>
> I have vcards created with new contacts in our contact manager, which
> can then be downloaded, which I am trying to automate by CFCONTENT
> during the process. I use text/plain, so of course it opens i
This is probably easy and am missing something...
I have vcards created with new contacts in our contact manager, which
can then be downloaded, which I am trying to automate by CFCONTENT
during the process. I use text/plain, so of course it opens in the
browser
How can I force it to the
I am using cfcontent to throw documents to the browser from a non-web
accessible directory. I am using cfheader as shown below to tell the
browser what type of file it is. So, it knows the file being downloaded is
test.doc file instead of index.cfm.
All of this works for just about any
I am serving up PDFs with cfcontent, using:
~|
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:
I am serving up PDFs with cfcontent, using the code below:
I have a problem with users running W2K IE 5.5SP2 (and probably others...).
When the user choose "open" instead of "save" the file gets transferred,
Acrobat opens, and then it can't find the file. It se
Does work as expected in Netscape 6.2. Never thought of it as a browser
problem!
If I create a direct link to a .doc, my IE opens it as expected. Using
CFContent doesn't.
Keith
- Original Message -
From: "Jochem van Dieten" <[EMAIL PROTECTED]>
To: "CF-Talk
ile. If choose open,
> opens it in Dreamweaver.
>
> I've never used CFContent before, so I assume I'm using it incorrectly, but
> don't know where as the pdf and txt work fine.
Not an error that appears t
page, determine type of file by parsing the extension, as doc,
pdf, jpg, etc:
then use the attach's extension to get the type for cfcontent
Sample code
then for output:
all seems to work fine for pdf and txt and pictures --desired document
opene
ts chewed
> up and I only see the end of it. However, if I change
> the file attribute to some file (that doesn't even exist),
> but using the drive letter notation, the code works. Is
> this a known behavior?
If I recall correctly, the CFCONTENT tag is run by the ISAPI extensio
Thanks, but I've done that already. I have no problem writing or reading
files, and in fact I'm using FileExists() before executing cfcontent. This
is on CF4.5.1, btw.
- Original Message -
From: "Mike Townend" <[EMAIL PROTECTED]>
> Usually this is to do wit
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 2, 2003 14:52
To: CF-Talk
Subject: CFCONTENT not serving files via UNC paths
I've got a piece of code that serves up PDFs, and it seems to have a problem
when the file is an a different machine:
I don't even get a us
I've got a piece of code that serves up PDFs, and it seems to have a problem
when the file is an a different machine:
I don't even get a useful error message, it gets chewed up and I only see
the end of it. However, if I change the file attribute to some file (that
doesn't even exist), but using
e extension, as:
then use the attach's extension to get the type for cfcontent
then for output:
all seems to work fine for pdf and txt.
For doc, get message that "proper input not received"
for xls, get IE prompt to either download or op
Place the following before your CFCONTENT tag:
--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/
> -Original Message-
> From: Steve Robison, Jr. [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 16, 2
> I am using cfcontent to get files from a non-webaccessible
> directory. Everything works except for when they try to
> save the file, it defaults to index.doc instead of test.doc.
> In apache, I could do this index.cfm/test.doc?fileid=1 and
> it would save the file as test.
Of course, I find the answer two minutes after sending this message...
At 12:23 PM 12/16/2002 -0500, you wrote:
>I am using cfcontent to get files from a non-webaccessible
>directory. Everything works except for when they try to save the file, it
>defaults to index.doc instead of
I am using cfcontent to get files from a non-webaccessible
directory. Everything works except for when they try to save the file, it
defaults to index.doc instead of test.doc. In apache, I could do this
index.cfm/test.doc?fileid=1 and it would save the file as test.doc. In
IIS, it can
I have - I use it quite a bit with cfx_treebeard. I used
http://treebeard.sourceforge.net
http://ruinworld.sourceforge.net
Scientia Est Potentia
-Original Message-
From: Tim Haak [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 8:52 AM
To: CF-Talk
Subject: CFCONTENT Problem
anyone had any luck with CFCONTENT and PDF files, especially in IE 5.5 SP2? My
environment is: Windows 2000 Professional SP3, ColdFusion MX 6,0,0,48097 (Developer
version), IIS 5.0.
Thanks in advance.
Tim Haak
[EMAIL PROTECTED]
> Hi,
> I have two servers, on one cfcontent acts as expected it
> browses the file
> I'm pushing. On the other it tries to download it as the
> .cfm page. Any
> clues as to why this would happen. I"m looking at all of
> the differences of
> the machines and
Hi,
I have two servers, on one cfcontent acts as expected it browses the file
I'm pushing. On the other it tries to download it as the .cfm page. Any
clues as to why this would happen. I"m looking at all of the differences of
the machines and can't find
8.240.0057
-Original Message-
From: Stacy Young [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 07, 2002 5:17 PM
To: CF-Talk
Subject: RE: CFMX: cfcontent/deletefile/IE - bug?
I ran into a similar problem...I was sending an email with CFMAIL with a
file as an attachment...then deleting the file
-
From: Marcello Frutig [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 07, 2002 4:17 PM
To: CF-Talk
Subject: CFMX: cfcontent/deletefile/IE - bug?
Hello,
I've seen today the following problem using CFMX (internal web server;
updater installed; Win2k)... When accessing a page containing
Hello,
I've seen today the following problem using CFMX (internal web server; updater
installed; Win2k)... When accessing a page containing
the pdf file does not appear on the browser (IE6) and this message is written to
application.log:
"Error","web-10","10/07/02","15:47:10",,"The cause of
By any chance are you calling the page with the cfcontent tag via http on Dev and
https on Production? If so, in IE go into Tools->Options->Advanced
Tab->Security(bottom)->Do not save Encrypted Pages to Disk.
Regards,
Christine
-Original Message-
From: Robert Shaw [m
Hi All,
I've got two machines production and dev, on Dev everything is fine when
using cfcontent, in Production the same code trys to download the .cfm file
in the Save As dialog box. Any thoughts on what might make this happen? I
can't see any noticeable differe
opened
by Excel and its type did seem to be Microsoft Excel, when I try to
upload the same file CF does NOT recognize its type as Excel but
text/html. Ive tried many ways to modify the download process, as to
use application/x-excel, application/ms-excel,
application/ms-excel for CFCONTENT type
Above your CFCONTENT tag, you have to create a new header (named
"content-disposition") to supply the new name, like:
Make sure that the VALUE attribute of the CFHEADER tag begins with
"attachment" instead of "inline."
--
Mosh Teitelbaum
evoc
use this above your tag.
> [CF5 Server Pro, Windows 2000]
> I have a feeling I've forgotten something obvious, but...
> In a nutshell:
> I have a template which uses CFCONTENT to download the contents of a file
> on the server to the browser. The file save dialog on t
, September 26, 2002 10:59 AM
To: CF-Talk
Subject: CFCONTENT and file downloads
[CF5 Server Pro, Windows 2000]
I have a feeling I've forgotten something obvious, but...
In a nutshell:
I have a template which uses CFCONTENT to download the contents of a file
on the server to the browser. The
> Anyone any ideas on how to get the right filename down
> to the client. If necessary, I can use a fixed name -
> the important thing is getting the .pdf extension (as
> the files are PDF's).
This might help:
http://www.figleaf.com/demo/mimetest/
Dave Watts, CTO, Fig Leaf Software
http://www
501 - 600 of 1010 matches
Mail list logo