RE: CFContent Excel design woes

2004-01-07 Thread Daniel O'Keefe
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

RE: CFContent Excel design woes

2004-01-07 Thread DURETTE, STEVEN J (AIT)
- 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

SOT: CFContent Excel design woes

2004-01-06 Thread C. Hatton Humphrey
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

Stream PDF using CFCONTENT

2003-12-04 Thread Schuster, Steven
Anyone done this, I can't remember how Thanks, Steve [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: Stream PDF using CFCONTENT

2003-12-04 Thread Dave Watts
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

RE: Stream PDF using CFCONTENT

2003-12-04 Thread Schuster, Steven
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

RE: Stream PDF using CFCONTENT

2003-12-04 Thread Dave Watts
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

RE: Stream PDF using CFCONTENT

2003-12-04 Thread Schuster, Steven
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

RE: Stream PDF using CFCONTENT

2003-12-04 Thread Dave Watts
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

Cfcontent/cfheader

2003-11-24 Thread Tangorre, Michael
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

Errors when using cfcontent for an attachment

2003-11-18 Thread Darron J. Schall
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

cfcontent question

2003-11-17 Thread Jeff Fongemie
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

RE: cfcontent question

2003-11-17 Thread Paul Vernon
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

CFCONTENT/CFHEADER woes

2003-11-13 Thread nerd
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

RE: CFCONTENT/CFHEADER woes

2003-11-13 Thread Dave Watts
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

RE: CFCONTENT/CFHEADER woes

2003-11-13 Thread Lofback, Chris
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

RE: CFCONTENT/CFHEADER woes

2003-11-13 Thread Mosh Teitelbaum
[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

Re: CFCONTENT/CFHEADER woes

2003-11-13 Thread nerd
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]

RE: CFCONTENT/CFHEADER woes

2003-11-13 Thread Pascal Peters
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

Help - CFCONTENT not retrieving PDF files on Mac

2003-10-22 Thread James Milks
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

Re: Help - CFCONTENT not retrieving PDF files on Mac

2003-10-22 Thread Ben Doom
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

RE: Help - CFCONTENT not retrieving PDF files on Mac

2003-10-22 Thread NATHAN C. SMITH
- 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

Re:Help - CFCONTENT not retrieving PDF files on Mac

2003-10-22 Thread James Milks
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]

cfcontent rtf problem on cfmx

2003-10-20 Thread Kay Smoljak
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

confused about CFCONTENT and Flash Player 7 domain security

2003-10-11 Thread Marc A. Garrett
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

CFContent and PDF problems

2003-10-08 Thread Shawn Grover
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

RE: CFContent and PDF problems

2003-10-08 Thread Mosh Teitelbaum
. -- 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

Re: CFContent and PDF problems

2003-10-08 Thread Dave Carabetta
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

Hiding file name passed to CFCONTENT

2003-10-08 Thread James Milks
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

Re: Hiding file name passed to CFCONTENT

2003-10-08 Thread Johan Steenkamp
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

RE: CFContent and PDF problems

2003-10-08 Thread Shawn Grover
(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

Re: CFContent and PDF problems

2003-10-08 Thread Richard Meredith-Hardy
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

RE: CFContent and PDF problems

2003-10-08 Thread Mosh Teitelbaum
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

Using Cfcontent to download a file problem

2003-09-10 Thread Mark Leder
# 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

cfcontent problems

2003-09-02 Thread Watson, Nicholas
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

CFCONTENT - CF5

2003-08-29 Thread Allan Clarke
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

RE: serving a file for download with cfcontent.

2003-08-14 Thread A.Little
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

CFContent Error in MX 6.1

2003-08-14 Thread Tim Soslow
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

CFContent tag in CFMX..

2003-08-14 Thread Ramesh Deva
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

serving a file for download with cfcontent.

2003-08-14 Thread DURETTE, STEVEN J (AIT)
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

CFContent tag in CFMX..

2003-08-08 Thread Ramesh Deva
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

RE: serving a file for download with cfcontent.

2003-08-06 Thread DURETTE, STEVEN J (AIT)
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

CFCONTENT Problem

2003-06-06 Thread John Ho
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

CFCONTENT Problem

2003-06-05 Thread Michael Traher
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

CFCONTENT Problem

2003-06-05 Thread David Sampson
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

RE: CFCONTENT Problem

2003-06-05 Thread Larry Juncker
: 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

RE: CFCONTENT Problem

2003-06-05 Thread webguy
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

Cfcontent deletefile = yes --- has this worked for you?

2003-03-25 Thread Melissa Fraher
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

return urlencoded data to Flash with cfcontent on MX -- is this possible?

2003-03-12 Thread S . Isaac Dealey
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

return urlencoded data to Flash with cfcontent on MX -- is this possible?

2003-03-12 Thread S . Isaac Dealey
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

cfcontent problem

2003-03-07 Thread Phillip B
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

Re: cfcontent problem

2003-03-07 Thread Todd
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

Re: cfcontent problem

2003-03-07 Thread Phillip B
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

Re: cfcontent problem

2003-03-07 Thread Todd
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

Re: cfcontent problem

2003-03-07 Thread Phillip B
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

RE: cfcontent problem

2003-03-07 Thread Dave Watts
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)

Re: cfcontent problem

2003-03-07 Thread Phillip B
: 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

CFContent

2003-03-04 Thread Shahzad.Butt
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

RE: CFContent

2003-03-04 Thread Dave Watts
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

RE: CFContent

2003-03-04 Thread Mosh Teitelbaum
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

cfcontent and excel problem

2003-02-26 Thread KeAnne Hoeg
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

RE: cfcontent and excel problem

2003-02-26 Thread Douglas.Knudsen
: 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

RE: cfcontent and excel problem

2003-02-26 Thread KeAnne Hoeg
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

(resend) cfcontent for ms word file fails on prod, not dev

2003-02-26 Thread Smith, Matthew P -CONT(DYN)
(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

Re: Cfcontent force download

2003-01-20 Thread Jochem van Dieten
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

RE: Cfcontent force download

2003-01-20 Thread Fuzion - CFTalk
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

Re: Cfcontent force download

2003-01-20 Thread Jochem van Dieten
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

Cfcontent force download

2003-01-19 Thread Eric Hoffman
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

Re: Cfcontent force download

2003-01-19 Thread Jochem van Dieten
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

RE: Cfcontent force download

2003-01-19 Thread Eric Hoffman
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

Re: Cfcontent force download

2003-01-19 Thread Jochem van Dieten
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

RE: Cfcontent force download

2003-01-19 Thread Fuzion - CFTalk
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

RE: Cfcontent force download

2003-01-19 Thread Fuzion - CFTalk
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

Obscure CFContent Problem

2003-01-17 Thread Steve Robison, Jr.
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

Problem with CFCONTENT

2003-01-07 Thread stas
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

cfcontent problem

2003-01-07 Thread stas
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

files with CFContent

2003-01-06 Thread E. Keith Dodd
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

Re: files with CFContent

2003-01-06 Thread Jochem van Dieten
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

Re: files with CFContent

2003-01-06 Thread E. Keith Dodd
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

CFCONTENT not serving files via UNC paths

2003-01-02 Thread stas
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

RE: CFCONTENT not serving files via UNC paths

2003-01-02 Thread Mike Townend
: [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

Re: CFCONTENT not serving files via UNC paths

2003-01-02 Thread stas
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

RE: CFCONTENT not serving files via UNC paths

2003-01-02 Thread Dave Watts
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

file types with cfcontent

2002-12-26 Thread E. Keith Dodd
, 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

cfcontent file name problem

2002-12-16 Thread Steve Robison, Jr.
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

Re: cfcontent file name problem

2002-12-16 Thread Steve Robison, Jr.
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

RE: cfcontent file name problem

2002-12-16 Thread Dave Watts
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

RE: cfcontent file name problem

2002-12-16 Thread Mosh Teitelbaum
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

CFCONTENT Problem with PDF Files

2002-12-09 Thread Tim Haak
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

RE: CFCONTENT Problem with PDF Files

2002-12-09 Thread Rob Rohan
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

repost: cfcontent trys to download

2002-10-08 Thread Robert Shaw
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

Re: repost: cfcontent trys to download

2002-10-08 Thread S . Isaac Dealey
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

CFMX: cfcontent/deletefile/IE - bug?

2002-10-07 Thread Marcello Frutig
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

RE: CFMX: cfcontent/deletefile/IE - bug?

2002-10-07 Thread Stacy Young
- 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

RE: CFMX: cfcontent/deletefile/IE - bug?

2002-10-07 Thread Benjamin S. Rogers
-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

cfcontent trys to download

2002-10-02 Thread Robert Shaw
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

RE: cfcontent trys to download

2002-10-02 Thread Christine Lawson
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

RE: CFCONTENT and file downloads

2002-09-27 Thread Ye Wang
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

CFCONTENT and file downloads

2002-09-26 Thread ColdFusion (CFTalk)
[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

RE: CFCONTENT and file downloads

2002-09-26 Thread Dave Watts
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

<    1   2   3   4   5   6   7   8   9   10   >