Will the HTMLtoExcel tag fit your needs?
Dan
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
-
From: C. Hatton Humphrey [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 06, 2004 4:28 PM
To: CF-Talk
Subject: SOT: CFContent Excel design woes
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
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 been testing it on Excel
Anyone done this, I can't remember how
Thanks,
Steve
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
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.figleaf.com/
phone
eted the file after it has been written to
conserve space ---
cfoutput
cfcontent file=#DirectorySet##Evaluate(FileVal)#
type=application/pdf deletefile=Yes
/cfoutput
/cfif
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 12:13 PM
To: CF-Talk
Subjec
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.
...
cfoutput
cfcontent file=#DirectorySet##Evaluate(FileVal)#
type=application/pdf deletefile=Yes
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...here
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 you get the page working correctly.
Dave Watts
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.
cfheader
name=Content-Disposition value=attachment;
filename=#selectDoc.documentName#
cfcontent
file=#request.docPath##selectDoc.documentName#
type=application/x
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:
!--- in downloads.cfm, so when someone visits the page they get the
download file dialog
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
Place the following line before your CFCONTENT tag and replace
therealfilename with the name of your file... All will be well.
cfheader name=Content-Disposition
value=attachment;filename=therealfilename
Yours
Paul Vernon
http://www.web-architect.co.uk http://www.web-architect.co.uk/
t: +44
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:
CFHEADER NAME=content-disposition VALUE=attachment; filename=new.doc
CFCONTENT TYPE=application/octet-stream FILE=E:\path\new.doc DELETEFILE=NO
This should cause
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:
CFHEADER NAME=content-disposition VALUE=attachment;
filename=new.doc
CFCONTENT TYPE=application/octet-stream
FILE=E:\path\new.doc DELETEFILE
I've always used this style:
CFHEADER NAME=Content-Disposition VALUE=inline; filename=foo.txt
CFCONTENT TYPE=application/unknown FILE=c:\foo.txt
Chris
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 1:00 PM
To: CF-Talk
Subject
[EMAIL PROTECTED] wrote:
CFHEADER NAME=content-disposition VALUE=attachment; filename=new.doc
CFCONTENT TYPE=application/octet-stream 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 I can't seem to get
I've always used this style:
CFHEADER NAME=Content-Disposition VALUE=inline; filename=foo.txt
CFCONTENT TYPE=application/unknown FILE=c:\foo.txt
Chris
Thanks, Chris.That seems to do the trick.
Jim
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
Aan: CF-Talk
CC:
Onderwerp: RE: CFCONTENT/CFHEADER woes
I've always used this style:
CFHEADER NAME=Content-Disposition VALUE=inline; filename=foo.txt
CFCONTENT TYPE=application/unknown FILE=c:\foo.txt
Chris
[Todays Threads]
[This Message]
[Subscription]
[Fast
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
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 with IE 5.2 on Mac, it tries to
download
- 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't remember
Howdy and thanks.
I needed to add cfcontent type = application/pdf, and all is well in the Mac world.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
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 htmlarea_lite
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 to dynamically load any
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:
!--- Set the name of the download file in the HTTP
.
--
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're using
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:
!--- Set the name of the download file in the HTTP
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
A simple solution is to create a session variable with a random name and then store the required filename/path in a session variable. Pass the session var name in the url. The template that returns the file via cfcontent then tests for existance of the session variable and if valid uses the value
(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: CFContent and PDF problems
Shawn:
Your CFHEADER is missing
Not sure what's wrong with a regular hyperlink to the PDF file if you
want to push files to a client page?
CFHEADER NAME=Content-Disposition VALUE=attachment;
filename=#my_file_name#
CFCONTENT TYPE = application/unknown FILE=#hard_path_to_file#
DELETEFILE=no
CFABORT
...works for us with PDF's
Two other things to try:
1) As mentioned by Dave Carabetta, try using CFSILENT or CFSETTING
ENABLECFOUTPUTONLY=Yes to restrict extraneous whitespace.For
example:
CFSETTING ENABLECFOUTPUTONLY=Yes
CFHEADER NAME=content-disposition VALUE=inline; filename=foo.pdf
CFCONTENT
TYPE=application
#
cfheader name=Content-Disposition value=#VARIABLES.headervalue#;
filename=#VARIABLES.FileName#
cfcontent type=#VARIABLES.BadType#
file=#VARIABLES.FilePath##VARIABLES.FileName#
cfelse
cfheader name=Content-type value=#VARIABLES.FileType#
cfheader name=Content
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 any way
You just need to put in a cfheader tag just before the cfcontent tag...
cfheader name=Content-disposition value=inline;
filename=myfilename.xls
HTH,
Alex
-Original Message-
From: DURETTE, STEVEN J (AIT) [mailto:[EMAIL PROTECTED]
Sent: 05 August 2003 15:58
To: CF-Talk
Subject
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
error
Hi,
Here I am using following tag in CFMX.
cfcontent type=application/x-msexcel file=#path# deletefile=Yes
But it showing error message in popup window like
Internet Explorer cannot download.
Internet Explorer was not able to open this Internetsite. The requested site
is either
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:
CFCONTENT FILE=#FileSystemRoot##RootDir#myfile.exe
type=application/octet-stream
The problem is that when a person clicks on the link they get a box to save
Hi,
Here I am using following tag in CFMX.
cfcontent type=application/x-msexcel file=#path# deletefile=Yes
But it showing error message in popup window like
Internet Explorer cannot download.
Internet Explorer was not able to open this Internetsite. The requested site
is either
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
cfcontent file = ../filename.doc
type = application/msword
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists
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
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 to create
: 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 word
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, .doc) file.
I'm able, using
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.
!--- Use CFContent to serve up file---
CFLOCK name=servePDF timeout=30 type=EXCLUSIVE
CFHEADER NAME=Content
Is anyone else having any luck returning urlencoded data to a Flash MX
loadVars object with cfcontent 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
with cfcontent 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, tapestry cms http://products.turnkey.to
tapestry api is opensource http
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
Are you doing this via CFCONTENT? 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
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 [EMAIL PROTECTED]
Sent: Friday
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 ColdFusion
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.
Any one?
Phillip B.
- Original Message -
From: Todd [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, March 07, 2003 10:09 AM
Subject: Re: cfcontent
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)
: 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.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
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 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
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 (custom tags removed) is wrong:
CFLOOP QUERY=GetImages
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 don't
: 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
problems
opening these files when the file size is about
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 Office97. It sucks.
IIRC Office 2000 has an upper limit
(I sent this a couple of hours ago, but it doesn't seem to have made it.
Please forgive the re-post)
cfheader name=Content-Disposition value=filename=quotareq.doc
cfcontent file=#expandPath(quotareq.doc)# deletefile=No
type=application/msword
That is all the code
Fuzion - CFTalk wrote:
Sorry formatting of last email went funny --
Add this before the cfcontent tag:
cfheader name=Content-Disposition
value=attach;filename=#filename#
Not attach, attachment (RFC 2616, section 19.5.1).
Jochem
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:
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
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
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 in the
browser
cfcontent type=application/unknown
file=bal\vcards\#fullname#.vcf
This is what I did, but still see in the browser window. How do I add
content-disposition, etc...thanks for the quick help as always Jochem.
Regards,
Eric J Hoffman
DataStream Connexion
www.datastreamconnexion.com
Eric Hoffman wrote:
cfcontent type=application/unknown
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
Add this before the cfcontent tag:
cfheader name=3DContent-Disposition
value=3Dattach;filename=3D#filename#
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
Sorry formatting of last email went funny --
Add this before the cfcontent tag:
cfheader name=Content-Disposition
value=attach;filename=#filename#
Change 'attach' to 'inline' to see it in the browser window.
Darryl
-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED
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.
cfheader name=content-disposition value
I am serving up PDFs with cfcontent, using the code below:
cfheader name = Content-Disposition value = attachment;
filename=#fileName#
cfcontent type=application/pdf file=#fullFilename# deletefile=No
I have a problem with users running W2K IE 5.5SP2 (and probably others...).
When the user
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=subscribeforumid=4
FAQ: http
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
CFSet theFile = Attach
CFSet ext = LCase(ListLast(Attach,.))
CFSwitch expression=#Variables.ext#
cfcase value=doc
CFSet type = application/msword
/cfcase
E. Keith Dodd wrote:
cfcontent file=#Variables.FetchFile# type=#Variables.Type#
all seems to work fine for pdf and txt and pictures --desired document
opened and shown in adobe, etc.
For doc however, get message that proper input not received
for xls, get IE prompt to either download
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 [EMAIL PROTECTED]
Sent: Monday
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:
cfcontent type=application/pdf file=\\database\output\10096-low.pdf
deletefile=No
I don't even get a useful error message, it gets chewed up and I only see
the end of it. However
: [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:
cfcontent type=application/pdf
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 with rights CF by default
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:
cfcontent type=application/pdf
file=\\database\output\10096-low.pdf
deletefile=No
I don't even get a useful error message, it gets chewed
up and I only see the end
, as:
then use the attach's extension to get the type for cfcontent
CFSet theFile = Attach
CFSet ext = LCase(ListLast(Attach,.))
CFSwitch expression=#Variables.ext#
cfcase value=doc
CFSet type = application/msword
/cfcase
CFCase value=xls
CFSet type=application/msexcel
/CFCase
cfcase value=pdf
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't
Of course, I find the answer two minutes after sending this message...
cfheader name=content-disposition value=inline; filename=#filename#
cfcontent file=#filedirectory#\#filename# type=application/msword
At 12:23 PM 12/16/2002 -0500, you wrote:
I am using cfcontent to get files from a non
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't
Place the following before your CFCONTENT tag:
CFHEADER NAME=content-disposition VALUE=attachment; filename=test.doc
--
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
Hello,
I am trying to send a PDF to the user so it loads in their browser window. The code I
am using is:
cfheader name=Content-type value=application/pdf
cfcontent deletefile=no file=C:/Inetpub/wwwroot/cfmxdemo/itworks.pdf
type=application/pdf
Note: I also tried a content-type of x
I have - I use it quite a bit with cfx_treebeard. I used
cfcontent type=application/pdf ...
instead of cfheader. Works for me.
Rob
http://treebeard.sourceforge.net
http://ruinworld.sourceforge.net
Scientia Est Potentia
-Original Message-
From: Tim Haak [mailto:[EMAIL PROTECTED]]
Sent
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. Im looking at all of the differences of
the machines and can't find much.
TIA,
Rob
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. Im looking at all of
the differences of
the machines and can't find much.
Are you talking about just
Hello,
I've seen today the following problem using CFMX (internal web server; updater
installed; Win2k)... When accessing a page containing
cfcontent type=application/pdf deletefile=yes file=c:\test.pdf
the pdf file does not appear on the browser (IE6) and this message is written
-
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
-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 afterwards
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 differences.
Rob
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 [mailto:[EMAIL
I have a similar problem but mine was with Excel not PDF.
Now I never had problem downloading CF-generated Excel files. Here is
the code I always used:
CFHEADER
NAME=content-disposition
VALUE=attachment; filename=something.xls
CFCONTENT
[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 the browser pops
up... but the name of the file shown
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
501 - 600 of 991 matches
Mail list logo