RE: cfcontent - for an excel file

2005-07-22 Thread Robertson-Ravo, Neil (RX)
: Kevin Penny [mailto:[EMAIL PROTECTED] Sent: 21 July 2005 19:33 To: CF-Talk Subject: RE: cfcontent - for an excel file I don't believe there is a way to create separate worksheets w/in the Document nor specify alternate worksheet names. I've looked into this before - and that was the conclusion

RE: cfcontent - for an excel file

2005-07-22 Thread Robertson-Ravo, Neil (RX)
Elder [mailto:[EMAIL PROTECTED] Sent: 21 July 2005 20:13 To: CF-Talk Subject: Re: cfcontent - for an excel file Best way to do this is create the excel file and save as html. Then use that source. This is what you need: !--[if gte mso 9]xml x:ExcelWorkbook x:ExcelWorksheets

RE: cfcontent - for an excel file

2005-07-22 Thread Robertson-Ravo, Neil (RX)
There is a way to name and create individual reports - you have to use POI from Apache. If you are on CFMX 6.1 you need to download it, but if you are on CFMX 7 then you can use POI straight out of the box! http://jakarta.apache.org/poi/index.html Do not go down the HTML route

CFCONTENT Bug?

2005-07-22 Thread Jim McAtee
also want this CF template to generate a simple robots.txt file for the old web sites so that they're eventually removed from external search engines. The easiest way to do this seems to be with the CFCONTENT tag to serve up a text file. cfcontent type=text/plain file=#ExpandPath('.')#\r.txt

cfcontent - for an excel file

2005-07-21 Thread Jill Robin Pascua
I'm creating a dynamic excel file using: cfheader name=Content-Disposition value=attachment; filename=blah.xls cfcontent type=application/msexcel I have only one worksheet. Is there a way to specify the name the worksheet or will the worksheet always match the filename? Thanks, - JR

RE: cfcontent - for an excel file

2005-07-21 Thread Kevin Penny
-Original Message- From: Jill Robin Pascua [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 1:22 PM To: CF-Talk Subject: cfcontent - for an excel file I'm creating a dynamic excel file using: cfheader name=Content-Disposition value=attachment; filename=blah.xls cfcontent type

Re: cfcontent - for an excel file

2005-07-21 Thread J Elder
/x:SheetIndex x:Formula='Sheet 1'!$1:$5/x:Formula /x:ExcelName /xml ![endif]-- -JE On 7/21/05, Jill Robin Pascua wrote: I'm creating a dynamic excel file using: cfheader name=Content-Disposition value=attachment; filename=blah.xls cfcontent type=application/msexcel I have only one worksheet

CFContent and Video Files

2005-05-31 Thread Ronald Gallagher
Hi All, I am trying to password protect video files and of course I am looking at the ol' reliables like the CFCONTENT tag and .htaccess files. ..htaccess isn't ideal because I want to put the video files in different directories and I don't want to manage a bunch of .htaccess files

RE: cfcontent vs cflocation

2005-05-18 Thread Hugo Ahlenius
: http://www.grida.no - | -Original Message- | From: Jared Rypka-Hauer - CMG, LLC [mailto:[EMAIL PROTECTED] | Sent: Tuesday, May 17, 2005 22:12 | To: CF-Talk | Subject: Re: cfcontent vs cflocation | | Yep... I'd have never

RE: cfcontent vs cflocation

2005-05-17 Thread Burns, John D
-Original Message- From: Dawson, Michael [mailto:[EMAIL PROTECTED] Sent: Monday, May 16, 2005 4:53 PM To: CF-Talk Subject: RE: cfcontent vs cflocation Hugo Ahlenius wrote: Related to the IE hack thread: When you do the little trick and refer to a cfm template in an img tag

Re: cfcontent vs cflocation

2005-05-17 Thread Jared Rypka-Hauer - CMG, LLC
Yep... I'd have never thought to try that. Interesting suggestion. That said, it will only work with images within the purview of a webserver... and I've been messing around with this a bit. Maybe this has worked this way forever, but this saves a LOT of typing: cfcontent type=image/png file=d

cfcontent vs cflocation

2005-05-16 Thread Hugo Ahlenius
Related to the IE hack thread: When you do the little trick and refer to a cfm template in an img tag (for instance) to enable some logic processing (or rendering of a dynamic image) -- wouldn't it make much more sense to do a cflocation after the dynamic rendering? (as long as you don't need to

Re: cfcontent vs cflocation

2005-05-16 Thread Jared Rypka-Hauer - CMG, LLC
puzzled Hugo... ummm... CFLOCATION to where? CFLOCATION does a client-side redirect via headers (similar to a meta redirect). CFCONTENT sets the mime type of the content stream that gets returned to the browser (hence making a CFM template look like a JPG or a PDF). Perhaps I'm missing

RE: cfcontent vs cflocation

2005-05-16 Thread Burns, John D
I think what he's asking is if you can do your processing in the cfm that you want but instead of serving up the images using cfcontent, do a cflocation to an image. That wouldn't hide the url of the image and I'm not 100% sure how it would all work, but it seems like it may do the trick. Not sure

Re: cfcontent vs cflocation

2005-05-16 Thread Jochem van Dieten
Hugo Ahlenius wrote: Related to the IE hack thread: When you do the little trick and refer to a cfm template in an img tag (for instance) to enable some logic processing (or rendering of a dynamic image) -- wouldn't it make much more sense to do a cflocation after the dynamic rendering? (as

RE: cfcontent vs cflocation

2005-05-16 Thread Dawson, Michael
Hugo Ahlenius wrote: Related to the IE hack thread: When you do the little trick and refer to a cfm template in an img tag (for instance) to enable some logic processing (or rendering of a dynamic image) -- wouldn't it make much more sense to do a cflocation after the dynamic rendering?

RE: cfcontent vs cflocation

2005-05-16 Thread Hugo Ahlenius
tool, ArcIMS/mapserver, captcha etc) are dropped in a web-accessible directory, you should do a cflocation rather than a cfcontent output. That way you can do whatever processing you want before, and hand over the work to the web-server (doing what it does best - serving static content

RE: cfcontent vs cflocation

2005-05-16 Thread Dawson, Michael
4:34 PM To: CF-Talk Subject: RE: cfcontent vs cflocation Sorry for not being more clear here, and it was not really a question, I basically wanted to check if there were any major objections to it. For cases when you have the image lying in a web-accessible directory (could also be on another

cfheader/cfcontent, auto-downloading a file, and IE woes

2005-04-27 Thread Scott Weikert
Hey folks - Got a stumper here (at least on my end). In my main project, I've got a page that is basically a DB table exporter - user specifies what fields, some filtering options, etc. The system then creates a text file, and then pushes the page over to a page with cfheader/cfcontent

RE: cfheader/cfcontent, auto-downloading a file, and IE woes

2005-04-27 Thread Dave Merrill
, some filtering options, etc. The system then creates a text file, and then pushes the page over to a page with cfheader/cfcontent, to pop the file-placement window prompt on the user's machine. Works fine in Mozilla - but in IE (6, at least), whenever the prompt window pops up, and you choose

CFCONTENT and Adobe reader crashing CFMX 6.1

2005-04-20 Thread Kong, Alan
We've noticed this problem and can replicate it easily on our dev servers. Running CF 6.1 on Solaris 8 We're serving PDF using CFCONTENT with the following code: cfcontent file=somereaderfile.pdf reset=yes type=application/pdf The document comes up fine on the browser. But if you hit

when delivering a file with cfcontent.

2005-03-07 Thread Protoculture
On some windows machines it gives the user the option to save or open, on others it opens up in the default application immediatley ( ie, word. Opens open in a word like interface within the browser ). How can I force to have the default being ( open, save, cancel ) dialog box appear every

Re: when delivering a file with cfcontent.

2005-03-07 Thread ColdFusion Developer
Set the MIME type to unknown Protoculture wrote: On some windows machines it gives the user the option to save or open, on others it opens up in the default application immediatley ( ie, word. Opens open in a word like interface within the browser ). How can I force to have the default being

Re: when delivering a file with cfcontent.

2005-03-07 Thread Protoculture
I did that... but the only thing is now its saving whats supposed to be a word doc... as the name of the current template( ie. 'current_template.cfm' as opposed to 'myfile.doc'. cfcontent file=E:\hosting\oursite\ourfiles\myfile.doc type=unknown reset

RE: when delivering a file with cfcontent.

2005-03-07 Thread Pascal Peters
cfheader name=Content-Disposition value=attachment; filename=myfile.doc cfcontent type=application/unknown file=E:\hosting\oursite\ourfiles\myfile.doc deletefile=No Pascal -Original Message- From: Protoculture [mailto:[EMAIL PROTECTED] Sent: 07 March 2005 10:49 To: CF-Talk Subject

Re: when delivering a file with cfcontent.

2005-03-07 Thread Protoculture
That did it! Cheers! cfheader name=Content-Disposition value=attachment; filename=myfile.doc cfcontent type=application/unknown file=E:\hosting\oursite\ourfiles\myfile.doc deletefile=No Pascal -Original Message- From: Protoculture [mailto:[EMAIL PROTECTED] Sent: 07 March 2005 10:49

cfcontent and timeout

2005-03-04 Thread Hugo Ahlenius
Hi, I remember hearing about this some time ago -- I have an application that uses cfheader/cfcontent for downloads of some files (to send headers with attachment etc) -- isn't there a way to avoid this taking up a thread in CF -- to pass this to the webserver in some way? I have a feeling

cfheader/ cfcontent to server files

2005-02-01 Thread Tangorre, Michael
the page... what is a better approach to this to keep the download prmpt while getting the underlying page to not bomb. IIS 6 CFMX 6.1 IE 6 !--- serveDocument.cfm --- cfheader name=Content-Disposition value=attachment; filename=#variables.doc#.#variables.ext# cfcontent file

RE: cfheader/ cfcontent to server files

2005-02-01 Thread Dave Watts
affects the page... what is a better approach to this to keep the download prmpt while getting the underlying page to not bomb. Once you use CFCONTENT to serve a file, that file is what will be sent to the browser. If the user chooses to cancel the download, the browser is in charge of figuring out

RE: cfheader/ cfcontent to server files

2005-02-01 Thread Michael T. Tangorre
From: Dave Watts [mailto:[EMAIL PROTECTED] Once you use CFCONTENT to serve a file, that file is what will be sent to the browser. If the user chooses to cancel the download, the browser is in charge of figuring out how to present that information to the user. How do others do it? Take

cfcontent error

2005-01-18 Thread Tim Laureska
Has anyone seen this type of error with cfcontent before and what this means: Error Diagnostic Information Context validation error in tag CFCONTENT The tag is not correctly positioned relative to other tags in the template: tag CFCONTENT must have empty content. This means that there can

RE: cfcontent error

2005-01-18 Thread Dave Watts
Has anyone seen this type of error with cfcontent before and what this means: Error Diagnostic Information Context validation error in tag CFCONTENT The tag is not correctly positioned relative to other tags in the template: tag CFCONTENT must have empty content. This means

Re: cfcontent error

2005-01-18 Thread Tim Laureska
thanks Dave... it appears to be a CF version problem... its throws the error on CF5 not CFMX -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 18, 2005 04:47 PM To: 'CF-Talk' Subject: RE: cfcontent error Has anyone seen this type of error

RE: cfcontent error

2005-01-18 Thread Dave Watts
thanks Dave... it appears to be a CF version problem... its throws the error on CF5 not CFMX While that may be true, the code as written doesn't appear to be correct on either version. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber

RE: cfcontent error

2005-01-18 Thread Tim Laureska
Yes, I know... I removed the filename reference in the cfcontent tag and its behaving -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 18, 2005 12:51 PM To: CF-Talk Subject: RE: cfcontent error thanks Dave... it appears to be a CF version problem

REPOST: CFHEADER/CFCONTENT over SSL on IIS with IE

2004-12-13 Thread Cliff Meyers
Subject: REPOST: CFHEADER/CFCONTENT over SSL on IIS with IE From: Dave Watts [EMAIL PROTECTED] Date: Sun, 12 Dec 2004 19:48:18 -0500 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messagesthreadid=37080forumid=4#187302 Perhaps there's a problem with the Content-Disposition header

Re: REPOST: CFHEADER/CFCONTENT over SSL on IIS with IE

2004-12-13 Thread Chris Norloff
ieHTTPheaders http://www.blunck.info/iehttpheaders.html I haven't tried it myself, but it's supposed to do what you want. Here's one for Mozilla, in case you're interested: http://livehttpheaders.mozdev.org/ I had to re-install Mozilla after using it. Chris Norloff -- Original Message

RE: REPOST: CFHEADER/CFCONTENT over SSL on IIS with IE

2004-12-13 Thread Ben Rogers
Can anyone recommend a good tool (either standalone or plugin for IE) that will allow me to see the HTTP response headers for a particular request? That way I could at least compare the headers generated for a regular file download and then tweak my CFHEADER statement(s) to match. Thanks a

REPOST: CFHEADER/CFCONTENT over SSL on IIS with IE

2004-12-12 Thread Cliff Meyers
Hey guys, I posted this on Friday, didn't get a response. Figured I'd try it again. I have a simple text file that I want to force-download for users of a web application. I've set up the following code: cfheader name=Content-Disposition value=attachment; filename=#filename# cfcontent

RE: REPOST: CFHEADER/CFCONTENT over SSL on IIS with IE

2004-12-12 Thread Dave Watts
I have a simple text file that I want to force-download for users of a web application. I've set up the following code: cfheader name=Content-Disposition value=attachment; filename=#filename# cfcontent type=text/plain file=#filepath# deletefile=no When I run the code

CFHEADER/CFCONTENT over SSL with IE

2004-12-10 Thread Cliff Meyers
I have a simple text file that I want to force-download for users of a web application. I've set up the following code: cfheader name=Content-Disposition value=attachment; filename=#filename# cfcontent type=text/plain file=#filepath# deletefile=no When I run the code in IE, I get

cfcontent and Norton firewall?

2004-12-09 Thread Emmet McGovern
I'm using cfcontent to prevent hotlinking images and I'm suddenly having a lot of emails with people using Norton firewall getting blocked from viewing images. Anyone have a clue why this is happening. It's just on the image display page. I link to the image like so... img src=dsp_getimg.cfm

Re: cfcontent and Norton firewall?

2004-12-09 Thread Howie Hamlin
Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm --- On Thursday, December 09, 2004 12:38 PM, Emmet McGovern scribed: --- I'm using cfcontent to prevent hotlinking images and I'm suddenly having a lot of emails with people using Norton firewall

RE: cfcontent and Norton firewall?

2004-12-09 Thread Scott Mulholland
I think its your use of cgi.referer. I have seen cases of Norton Internet Security stripping that variable. -Original Message- From: Emmet McGovern [mailto:[EMAIL PROTECTED] Sent: Thursday, December 09, 2004 12:38 PM To: CF-Talk Subject: cfcontent and Norton firewall? I'm using

RE: cfcontent and Norton firewall?

2004-12-09 Thread Emmet McGovern
Well, it appears that's the case. Another wasted day redoing something. Oh well. -Original Message- From: Scott Mulholland [mailto:[EMAIL PROTECTED] Sent: Thursday, December 09, 2004 1:18 PM To: CF-Talk Subject: RE: cfcontent and Norton firewall? I think its your use of cgi.referer. I

RE: Incremental CFCONTENT?

2004-11-30 Thread Katz, Dov B (IT)
Subject: Re: Incremental CFCONTENT? It won't try to compile the file if there is no server mapping to the .txt extension. Use cfset getPageContext().include(header-static-html.txt) It's my understanding that this will, in fact, execute the page if it is a JSP or CFM file. Is it the case

Re: Incremental CFCONTENT?

2004-11-30 Thread Kwang Suh
] Sent: Monday, November 29, 2004 5:57 PM To: CF-Talk Subject: Re: Incremental CFCONTENT? It won't try to compile the file if there is no server mapping to the .txt extension. extension? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444

Incremental CFCONTENT?

2004-11-29 Thread Katz, Dov B (IT)
Can I pipe out parts of pages using CFCONTENT? I currently have an cache_to_file tag which I wrote to cache parts of rendered pages to file. Right now I (inefficiently) CFFILE-Read them, then #output# the contents. What I'd like to do is CFCONTENT them directly to the response output stream

RE: Incremental CFCONTENT?

2004-11-29 Thread Dave Watts
Can I pipe out parts of pages using CFCONTENT? No, I'm pretty sure you can't if you use the FILE attribute of CFCONTENT. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444

Re: Incremental CFCONTENT?

2004-11-29 Thread Joe Rinehart
-static-html.txt output=#output# -joe On Mon, 29 Nov 2004 14:54:48 -0500, Katz, Dov B (IT) [EMAIL PROTECTED] wrote: Can I pipe out parts of pages using CFCONTENT? I currently have an cache_to_file tag which I wrote to cache parts of rendered pages to file. Right now I (inefficiently) CFFILE

Re: Incremental CFCONTENT?

2004-11-29 Thread Kwang Suh
Use cfset getPageContext().include(header-static-html.txt) Can I pipe out parts of pages using CFCONTENT? I currently have an cache_to_file tag which I wrote to cache parts of rendered pages to file. Right now I (inefficiently) CFFILE-Read them, then #output# the contents. What I'd

RE: Incremental CFCONTENT?

2004-11-29 Thread Dave Watts
Use cfset getPageContext().include(header-static-html.txt) It's my understanding that this will, in fact, execute the page if it is a JSP or CFM file. Is it the case that it will not attempt to execute the page if it isn't mapped to a specific executable file extension? Dave Watts, CTO, Fig

Re: Incremental CFCONTENT?

2004-11-29 Thread Kwang Suh
It won't try to compile the file if there is no server mapping to the .txt extension. Use cfset getPageContext().include(header-static-html.txt) It's my understanding that this will, in fact, execute the page if it is a JSP or CFM file. Is it the case that it will not attempt to execute the

RE: CFCONTENT and PDFs (Re: CFCONTENT and GetPageContext())

2004-10-11 Thread Hugo Ahlenius
, 2004 18:42 | To: CF-Talk | Subject: CFCONTENT and PDFs (Re: CFCONTENT and GetPageContext()) | | Greetings. | | Anyone run into problems with using GetPageContext().Include()and | CFCONTENT to serve, say a PDF file, on the same page. | | I'm having a similar problem. I'm almost positive

Re: CFCONTENT and PDFs (Re: CFCONTENT and GetPageContext())

2004-10-11 Thread Adrian Moreno
You should be able to specify a different name within your CFCONTENT tag: http://www.figleaf.com/demo/mimetest/ Dave Watts, CTO, Fig Leaf Software Dave, I had been using cfheader name=Content-Disposition value=inline; file=#myFormPath#/#myFormName# and have changed it to cfheader name

RE: CFCONTENT and PDFs (Re: CFCONTENT and GetPageContext())

2004-10-10 Thread Dave Watts
served by cfcontent inside MSIE correctly. Something has to have changed in the way MSIE functions. You should be able to specify a different name within your CFCONTENT tag: http://www.figleaf.com/demo/mimetest/ The PDF link in that page worked for me in IE6 on Windows XP SP2. Dave Watts, CTO

RE: CFCONTENT and GetPageContext()

2004-10-08 Thread Hugo Ahlenius
|Subject: CFCONTENT and GetPageContext() | |Greetings. | |Anyone run into problems with using GetPageContext().Include() | and CFCONTENT to serve, say a PDF file, on the same page. | | |If I use the following code at the top of a template, |everything works as expected: the download dialog pops up

CFCONTENT and PDFs (Re: CFCONTENT and GetPageContext())

2004-10-08 Thread Adrian Moreno
Greetings. Anyone run into problems with using GetPageContext().Include()and CFCONTENT to serve, say a PDF file, on the same page. I'm having a similar problem. I'm almost positive it's a security fix in MSIE. The main function of the application I'm building is to create and present PDF

CFCONTENT and GetPageContext()

2004-10-07 Thread Alexander Sherwood
Greetings. Anyone run into problems with using GetPageContext().Include()and CFCONTENT to serve, say a PDF file, on the same page. If I use the following code at the top of a template, everything works as expected: the download dialog pops up in the browser: cfheader name=Content-disposition

CFCONTENT

2004-09-21 Thread Steven Wojciechowski
I'm looking to use CFCONTENT to provide the various files on my website as I am finding hotlinking a bit of a problem at the moment and want to stop it. I'm hosting on a Windows 2000 Server with IIS5 and CFMX (6.1) and plan on using CFCONTENT to check the referring page to make sure it came from

Re: CFCONTENT

2004-09-21 Thread Andrew Dixon
location of the file. Andrew. - Original Message - From: Steven Wojciechowski [EMAIL PROTECTED] Date: Tue, 21 Sep 2004 21:39:04 +0100 Subject: CFCONTENT To: CF-Talk [EMAIL PROTECTED] I'm looking to use CFCONTENT to provide the various files on my website as I am finding hotlinking a bit

RE: CFCONTENT

2004-09-21 Thread Dave Watts
to using CFCONTENT to return files, beyond the overhead of a web server returning those files. I had looked at Apache as an option for the server to use the .htaccess files to prevent hotlinking, however the server also needs to run several ASP applications which I've had difficulty getting going

CFCONTENT Mac IE 5.1

2004-09-09 Thread Bryan Stevenson
Hey All, Some Mac IE 5.1 users are having issues seeing images that are called from a non-web accessibnle directory using CFCONTENT. Code like so: image tag: img src=""> # contents of show_image.cfm: cfcontent type=image file=#FullNonWebAccessibleFilePath# Has anybody else seen t

SOLVED: Re: CFCONTENT Mac IE 5.1

2004-09-09 Thread Bryan Stevenson
and as usual...I solve my own dang problem after posting ;-) I should have used image/jpeg instead of image in the type attribute of CFCONTENTDOH! Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264

Re: CFCONTENT Mac IE 5.1

2004-09-09 Thread Claude Schneegans
Some Mac IE 5.1 users are having issues seeing images that are called from a non-web accessibnle directory using CFCONTENT. I had a similar problem a few days ago. I think the problem came from having \ istead of / in the url. Doesn't bother IE 6 on Windows, but others don't like. If you're using

RE: Error with CFCONTENT and DELETEFILE

2004-09-08 Thread Dave Watts
Yeah, of course, it is just that this deletefile feature is not there for nothing and is supposed to work, and I want to make sure there is no way to have it working properly before I take another direction. I suspect that most people using DELETEFILE aren't also creating the file within

Any restriction in CFCONTENT?

2004-09-07 Thread Claude Schneegans
Hi, Is there any restriction about where the file return by CFCONTENT may be in the server? I return a gif file with something like: CFCONTENT TYPE=image/gif FILE=#tempFilePath# DELETEFILE=yes If the location of the file is in the HTTP server scope, it works, but if it is in C:\windows\temp

Re: Any restriction in CFCONTENT?

2004-09-07 Thread Douglas Knudsen
If CF has no rights to delete the file, then it can't.I've also seen IIS put a stranglehold on file using this approach too. Doug - Original Message - From: Claude Schneegans [EMAIL PROTECTED] Date: Tue, 07 Sep 2004 13:50:55 -0400 Subject: Any restriction in CFCONTENT? To: CF-Talk [EMAIL

Re: Any restriction in CFCONTENT?

2004-09-07 Thread Claude Schneegans
If CF has no rights to delete the file, then it can't.I've also seen IIS put a stranglehold on file using this approach too. Hmmm so I better use another directory ;-/ But how come CF returns this directory in getTempDirectory() id it has no rights on it? --

Re: Any restriction in CFCONTENT?

2004-09-07 Thread Claude Schneegans
It is even weirder considering the file was in fact created by CF itself using a call to GetTempFile ()... ;-/ -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL

RE: Any restriction in CFCONTENT?

2004-09-07 Thread Dave Watts
It is even weirder considering the file was in fact created by CF itself using a call to GetTempFile ()... ;-/ I vaguely recall that the CFCONTENT tag runs within the security context of the web server, not the CF server itself. I don't know if this is still true with CFMX, but if so it could

Re: Any restriction in CFCONTENT?

2004-09-07 Thread Claude Schneegans
if you try to delete a file so soon after creating it, you might have a problem there too, as it may well still be locked. I understand, but isn't CFCONTENT supposed to take care of this if 1. the file was created by CF itself, 2. CFCONTENT provides an attribute to delete the file after, I mean

Error with CFCONTENT and DELETEFILE

2004-09-07 Thread Claude Schneegans
Hi, Still trying to have CFCONTENT do its job unde CF 5, here is the situation: 1. a temp file is created using CFSET tempFilePath = GettempFile(localDirectory,map) 2. a CFX_tag is called and it writes an image on the file ok, yes, it closes the file! 3. a template is called from a IMG src="

RE: Error with CFCONTENT and DELETEFILE

2004-09-07 Thread Dave Watts
I really need these files to be deleted, otherwise they will fill up my server. Why not just delete them on a scheduled basis? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast

Re: Error with CFCONTENT and DELETEFILE

2004-09-07 Thread Claude Schneegans
Why not just delete them on a scheduled basis? Not really a viable solution for a commercial product ;-( -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED])

RE: Error with CFCONTENT and DELETEFILE

2004-09-07 Thread Dave Watts
Why not just delete them on a scheduled basis? Not really a viable solution for a commercial product ;-( I respectfully submit it's more viable than the (non-working) approach you're using now. There are plenty of ways to handle scheduling, and the transfer of work from runtime to some

Re: Error with CFCONTENT and DELETEFILE

2004-09-07 Thread Claude Schneegans
I respectfully submit it's more viable than the (non-working) approach you're using now. Yeah, of course, it is just that this deletefile feature is not there for nothing and is supposed to work, and I want to make sure there is no way to have it working properly before I take another direction.

CFCONTENT, PDFs and Adobe Acrobat Control for ActiveX

2004-09-02 Thread Adrian J. Moreno
I'm using cfcontent to present PDF files to the user. Process works perfectly in Mozilla FireFox. Of course, MSIE is a different beast. This is the code I'm using: cfheader name=Content-Disposition value=inline;file=#variables.pdfFileNameWithPath# cfcontent type=application/pdf file

Using cfcontent tag

2004-09-01 Thread Chad McCue
I am trying to use the cfcontent tag but want the results to be put in my td not to rewrite the screen. Is this possible? What I am doing is running a jpeg resize tag and it uses the cfcontent tag so I can delete the image after it is displayed. The problem is the image gets displayed

Re: redirect after cfheader/cfcontent

2004-08-31 Thread Jochem van Dieten
CFDEV wrote: I have a code on a page that pop up a save/open for downloading a page : cfheader name=Content-Disposition value=attachment;filename=#getfilefrompath(cas.fichier)# cfcontent file=#nom_fichier2# type=application/pdf deletefile=No / And I want to redirect the page

RE: redirect after cfheader/cfcontent

2004-08-31 Thread Micha Schopman
And the reason is both tags rewrite the header. Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821 ALAmersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User

RE: redirect after cfheader/cfcontent

2004-08-31 Thread Dave Watts
And the reason is both tags rewrite the header. Well, not exactly. You can use multiple tags that rewrite the header in the same page, as long as those tags don't tell the browser to do two things at once that can't be done in one request. For example, you can use CFCOOKIE and CFLOCATION in CFMX

RE: redirect after cfheader/cfcontent

2004-08-31 Thread Dave Watts
the request, so the request would then continue on to deliver the file in theory. Though I don't personally know if the cfcontent tag will also change the status header that's required for the relocation or if there might be other complications owing to the standard or implementation

RE: redirect after cfheader/cfcontent

2004-08-31 Thread Tyler Silcox
Dave Watts wrote: When you use CFCONTENT to deliver a file, it doesn't set a Location header. It simply delivers the content specified by the tag. I've been meaning to ask for awhile, but how much overhead does CFCONTENT create if you are serving a 1MB file? Howabout a 10MB file? Does the CF

RE: redirect after cfheader/cfcontent

2004-08-31 Thread Dave Watts
I've been meaning to ask for awhile, but how much overhead does CFCONTENT create if you are serving a 1MB file? Howabout a 10MB file? Does the CF server actually handle the file, or does it just provide a pointer to the local file? I believe that the request is handled entirely by the web

redirect after cfheader/cfcontent

2004-08-30 Thread CFDEV
Hi, I have a code on a page that pop up a save/open for downloading a page : cfheader name=Content-Disposition value=attachment;filename=#getfilefrompath(cas.fichier)# cfcontent file=#nom_fichier2# type=application/pdf deletefile=No / And I want to redirect the page to another

Re: redirect after cfheader/cfcontent

2004-08-30 Thread S . Isaac Dealey
I have a code on a page that pop up a save/open for downloading a page : cfheader name=Content-Disposition value=attachment;filename=#getfilefrompath(cas.fichier)# cfcontent file=#nom_fichier2# type=application/pdf deletefile=No / And I want to redirect the page to another page after

RE: redirect after cfheader/cfcontent

2004-08-30 Thread Matt Liotta
You can't use cflocation or cfheader after cfcontent, but you can use cfheader before cfcontent. Thus, you can issue a redirect with cfheader and still use cfcontent. -Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of S.Isaac Dealey Sent: Monday

RE: redirect after cfheader/cfcontent

2004-08-30 Thread CFDEV
Thanks guys... Isaac your solution works just fine with the location... Pat _ From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Sent: August 30, 2004 22:23 To: CF-Talk Subject: Re: redirect after cfheader/cfcontent I have a code on a page that pop up a save/open for downloading

RE: redirect after cfheader/cfcontent

2004-08-30 Thread CFDEV
Oups, I respond too fast.. I just tested it with the pop-up blocker on and it blocks the target=_blank which is no good.. Matt, how do I redirect in the cfheader? I use the cfheader before the cfcontent.. Thanks Pat _ From: Matt Liotta [mailto:[EMAIL PROTECTED] Sent: August 30

RE: redirect after cfheader/cfcontent

2004-08-30 Thread S . Isaac Dealey
Thanks guys... Isaac your solution works just fine with the location... Pat Ahh cool, good to know I could help. :) s. isaac dealey954.927.5117 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework

RE: redirect after cfheader/cfcontent

2004-08-30 Thread S . Isaac Dealey
the request, so the request would then continue on to deliver the file in theory. Though I don't personally know if the cfcontent tag will also change the status header that's required for the relocation or if there might be other complications owing to the standard or implementation of HTTP, since

RE: redirect after cfheader/cfcontent

2004-08-30 Thread S . Isaac Dealey
Oups, I respond too fast.. I just tested it with the pop-up blocker on and it blocks the target=_blank which is no good.. Matt, how do I redirect in the cfheader? I use the cfheader before the cfcontent.. Thanks Pat Sounds to me like a bad popup blocker... iirc the blockers

Plain Text Output using CFContent

2004-08-03 Thread Mark Leder
Hi all, I want to use Cfcontent to force a download of query results in a plain text format.The following code works in my IE 6 Win browser (opens notepad with the data), but on another machine also using IE 6 Win, notepad opens, but no data. What am I doing wrong? cfset VARIABLES.todaysDate

Re: cfcontent and ssl/https issue

2004-07-27 Thread Mike Chabot
Just to clarify, you do not need to use header tags in the page to disable caching. My Web server knows enough to not cache cfm files without specifying anything in the file itself. Since the user is hitting a .cfm page, you could be running into a no-cache directive at the Web server level. An

cfcontent and ssl/https issue

2004-07-26 Thread Evan Lavidor
I have a form that resides on an SSL site.It submits to another SSL page and after inserting the data into our SQL Server db (via cfstoredproc), it does a cfcontent to display a pdf, using the following: cfset variables.pdf_to_display = Request.fileRoot \ variables.filepath

Re: cfcontent and ssl/https issue

2004-07-26 Thread Barney Boisvert
Throw a CFHEADER tag in there: cfheader name=Content-Disposition value=attachment; filename=#variables.filename# / cfcontent file=#variables.pdf_to_display# type=application/pdf deletefile=false reset=true /cfabort / Not sure if that'll solve your problem, but that's how we always do

Re: cfcontent and ssl/https issue

2004-07-26 Thread Evan Lavidor
. Thanks, Evan Throw a CFHEADER tag in there: cfheader name=Content-Disposition value=attachment; filename=#variables.filename# / cfcontent file=#variables.pdf_to_display# type=application/pdf deletefile=false reset=true /cfabort / Not sure if that'll solve your problem, but that's how we

Re: cfcontent and ssl/https issue

2004-07-26 Thread Barney Boisvert
try changing attachement to inline in the CFHEADER tag. cheers, barneyb On Mon, 26 Jul 2004 14:25:06 -0400, Evan Lavidor [EMAIL PROTECTED] wrote: Hi Barney, Thanks for the suggestion.When I do that, then the user is prompted to open or save the file (and opening doesn't work - at least from

Re: cfcontent and ssl/https issue

2004-07-26 Thread Evan Lavidor
Thanks for the suggestion.inline produces the same effect as I was seeing originally.Namely, the PDF doesn't display.If I take the SSL out of the equation, everything works fine. If anyone has any other ideas, I'd be most grateful. Thanks, Evan try changing attachement to inline in the

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