I am not sure if this is what you are wanting, but I do a cffile to create
csv files all the time.
Then the file is appended too with each outputted line of your query.
Larry Juncker
Senior Cold fusion Developer
Heartland Communications Group, Inc.
[EMAIL PROTECTED]
(515) 574-2122
I think I'll answer that with the time honoured Figleaf Daves' .. Mime test
page
http://www.figleaf.com/demo/mimetest/
if that page ever dissappeared there will be trouble... :-)
WG
-Original Message-
From: David Sampson [mailto:[EMAIL PROTECTED]
Sent: 04 June 2003 19:50
To: CF-Talk
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 is in a
, March 07, 2003 9:13 AM
Subject: Re: cfcontent problem
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
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 and
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 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:
Got it working.
T
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives:
I'm running the following test code:
html
...
CFHEADER NAME=Content-Disposition VALUE=inline;
filename=Yourfilename.xls
CFCONTENT TYPE=application/msexcel Company Name
CFOUTPUT QUERY=test
#CompanyName##carriage#
/CFOUTPUT
/CFCONTENT
...
And I'm
We have a site that uses the CFContent tag for downloading
files to the user. We ran into problems with it today where
it is giving us blank/empty files. If we check the physical
file, everything is fine.
...
We had the security patches for the Nimda worm applied today,
and have
I'm not sure if we have those patches - do you know where I
can find them?
http://www.allaire.com/handlers/index.cfm?id=21566method=full
Good luck!
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
~~
Get the
Shawn,
I had this problem too. What Dave said is right -- it IS a permissions
problem. He led me to this solution a couple of months ago:
I have a PDFS directory that is not in the web root for a certain web
application. I serve the PDF files to the user via cfcontent ... The
directory
If you are using NT with SP 6a:
add this to send.cfm
cfheader name=Content-Disposition value=attachment;
Filename=myfile.txt
-Original Message-
From: Rich Z [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 10, 2001 4:17 PM
To: CF-Talk
Subject: CFCONTENT Problem
I'm sure this
Give this a shot:
CFHEADER NAME=Content-Disposition VALUE=attachment; filename=file.mp3
CFCONTENT TYPE=unknown FILE=c:\archive\file.mp3 DELETEFILE=No
Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/
- Original Message -
From: Rich Z [EMAIL PROTECTED]
To: CF-Talk [EMAIL
Still happening. Is there something I need to do on the server side?
-Original Message-
From: Dain Anderson [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 10, 2001 4:38 PM
To: CF-Talk
Subject: Re: CFCONTENT Problem
Give this a shot:
CFHEADER NAME=Content-Disposition VALUE=attachment
What is the WinNT SP?
Duane
-Original Message-
From: Rich Z [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 10, 2001 8:50 PM
To: CF-Talk
Subject: RE: CFCONTENT Problem
Still happening. Is there something I need to do on the server side?
-Original Message-
From: Dain
I'm actually using Windows 2000 Server.
-Original Message-
From: Duane Boudreau [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 10, 2001 8:58 PM
To: CF-Talk
Subject: RE: CFCONTENT Problem
What is the WinNT SP?
Duane
-Original Message-
From: Rich Z [mailto:[EMAIL PROTECTED
You should also make sure the mime type is setup on the server.
You don't have to configure the server if CF is returning the MIME type in
the CFCONTENT tag.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
20 matches
Mail list logo