Re: cfcontent changing name of file

2012-12-30 Thread Rob Voyle
Hi Claude It appears on all browsers. i think the issue is in the adobe pdf reader, not picking up the file name. it seems to fall under the rubric. "Just when I thought I had idiot proofed the system they invented a more advanced idiot." My solution for now, or what I am prepared to put time

Re: cfcontent changing name of file

2012-12-30 Thread Claude Schnéegans
Well, I see. Then it definitely looks like a Firefox issue. Have you try with Explorer? I don't see what you can do from CF. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/14302

Re: cfcontent changing name of file

2012-12-30 Thread Rob Voyle
Hi Claude No classroom.cfm is the file that serves up the handouts. person clicks on a link: classroom.cfm?handout=session1.pdf classroom.cfm has handoutfile is the full path and file name This displays the file fine in the browser, but attempts to save it using the browser pdf save func

Re: cfcontent changing name of file

2012-12-30 Thread Claude Schnéegans
>> >>This works great for viewing the file, but the name of the file is >>"classroom.pdf" since there is multiple handouts the user is likely to overwrite previously saved files Well, if the file name is "classroom.pdf", it must be because you have handout set to "classroom.pdf", no? ~~

Re: cfcontent changing name of file

2012-12-30 Thread Rob Voyle
On 30 Dec 2012 at 1:05, =?ISO-8859-1?Q?Claude_Schn=E9 wrote: Hi Claude The "attachment" option forces a download without viewing, I want the user to be able to view the document and then save it if they choose. So far there are two options that I can use in the serving page classroom.cfm: Thi

Re: cfcontent changing name of file

2012-12-29 Thread Claude Schnéegans
You need two tags: one to set the file name, one to send return the document ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.h

Re: cfcontent changing name of file

2012-12-29 Thread Rob Voyle
Hi Dan That doesn't work It opens the pdf fine: the url in the browser says www.host.com/webinars/classroom.cfm?handout=ai-session1.pdf and if I try to save the pdf file the file name is: classroom.pdf What I would like to do is save it as: ai-session1.pdf Rob On 29 Dec 2012 at 23:45, Dan G.

Re: cfcontent changing name of file

2012-12-29 Thread Dan G. Switzer, II
Rob, The following should work: -Dan On Saturday, December 29, 2012, Rob Voyle wrote: > > Hi Russ > creating objects is beyond my expertise and I couldn't get the sitepoint > idea to > work. Kept getting an object error. However my suspicion is that it > wouldn't > solve my problem. > value

Re: cfcontent changing name of file

2012-12-29 Thread Rob Voyle
Hi Russ creating objects is beyond my expertise and I couldn't get the sitepoint idea to work. Kept getting an object error. However my suspicion is that it wouldn't solve my problem. forces the browser to save the file not view the file. I want people to first view it and then save it if t

Re: cfcontent changing name of file

2012-12-29 Thread Russ Michaels
try this. http://www.sitepoint.com/forums/showthread.php?640127-changing-filename-of-download-in-cfcontent On Sun, Dec 30, 2012 at 1:50 AM, Rob Voyle wrote: > > Hi Folks > > I have a webpage called "classroom.cfm" > > It serves up a series of pdf handouts using > > > > > handoutFile is the a

Re: CFCONTENT does not reset

2012-08-06 Thread Claude Schnéegans
>>Once you use any functionality that explicitly writes part of the response (CFHTMLHEAD, CFHEADER, etc) you can't use functionality that lets you manipulate the storage buffer (CFCONTENT, CFFLUSH). I think it is actually the opposite: Once you have used CFCONTENT, CFFLUSH, you cannot use any fu

Re: CFCONTENT does not reset

2012-08-06 Thread Claude Schnéegans
>>Once you use any functionality that explicitly writes part of the response (CFHTMLHEAD, CFHEADER, etc) you can't use functionality that lets you manipulate the storage buffer (CFCONTENT, CFFLUSH). Not so sure about this. I've noticed that the effect of CFHTMLHEAD is to find the ... pair in th

Re: CFCONTENT does not reset

2012-08-06 Thread Dave Watts
> I came across a problem with CFCONTENT. Even if the attribute RESET="yes" is > used, the content which was previously set by > Ex 1: > > > This shouldn't have the head section. > > > Ex 2: > This is in the head section > > This shouldn't have the head section. > > > In Ex 1, the text "Thi

Re: CFCONTENT in the background?

2011-06-16 Thread Peter Boughton
Ah wait, sorry, didn't read the message properly. The answer is to use filename attribute of cfdocument - this saves the file on disk, and doesn't send it to the browser. ~| Order the Adobe Coldfusion Anthology now! http://www

Re: CFCONTENT in the background?

2011-06-16 Thread Peter Boughton
Use cfdocument not cfcontent. Documentation at: http://cfquickdocs.com/cf9/#cfdocument ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: htt

Re: cfcontent to serve PDF files hanging

2011-05-10 Thread Stephen Hardesty
Jason, I am experiencing a similar problem. Did you ever find out exactly what was causing yours? thanks, Stephen > Thank you for the ideas. We are going to change the mime/type and > also add some I/O logging to see if we can find a correlation there. > Should we find the issue I will cer

Re: CFContent failing on large files since moving to ColdFusion 9

2011-03-10 Thread Chris Tsongas
This is a known bug, please log in at the Adobe site and vote for it: http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=83425 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Co

Re: CFContent failing on large files since moving to ColdFusion 9

2011-03-10 Thread Chris Tsongas
This is a known bug, please log in at the Adobe site and vote for getting it fixed: http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=83425 ~| Order the Adobe Coldfusion Anthology now! http://www.amaz

Re: cfcontent and save as

2011-03-01 Thread Richard White
> well it works perfectly in all browsers except safari (windows)... after tearing all my hair out, realized the pop up block in safari was on! :\ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Cold

Re: cfcontent and save as

2011-02-26 Thread Michael Grant
I thought I could remember something quirky. My memory sucks. If only I could remember if there's a resolution. Good luck. On Sat, Feb 26, 2011 at 6:35 AM, Richard White wrote: > > >thanks for all the help, now works perfect! > > well it works perfectly in all browsers except safari (windows)..

Re: cfcontent and save as

2011-02-26 Thread Richard White
>thanks for all the help, now works perfect! well it works perfectly in all browsers except safari (windows)... have searched the internet and found this is a common problem although even when i add the suggestions it still doesn't work, can anyone spot what is wrong with this code: many

Re: cfcontent and save as

2011-02-25 Thread Wil Genovese
Also, read this blog post of mine for more details on serving files up for download. http://www.trunkful.com/index.cfm/2010/8/4/Serving-File-Downloads-with-ColdFusion Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.t

RE: cfcontent and save as

2011-02-25 Thread UXB
To force a download no matter the type: Dennis Powers UXB Internet - A website Design and Hosting Company P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844 W: http://www.uxbinternet.com W: http://www.ctbusinesslist.com -Original Message- From: Richard White [mailto:rich...@j7is.co.

Re: cfcontent and save as

2011-02-25 Thread Richard White
thanks for all the help, now works perfect! > Hi, > > for security we store xls documents in a non-web root folder. We then > use a cfcontent tag to serve the file to the user. > > the problem is when the user clicks the link they are displayed a > download dialogue and all is fine if they c

Re: cfcontent and save as

2011-02-24 Thread Michael Grant
ue="Attachment;FILENAME=#FileName#"> > > > Regards, > Andrew Scott > http://www.andyscott.id.au/ > > > > > -Original Message- > > From: Michael Grant [mailto:mgr...@modus.bz] > > Sent: Friday, 25 February 2011 5:46 AM > > To: cf-talk &

RE: cfcontent and save as

2011-02-24 Thread Andrew Scott
uary 2011 5:46 AM > To: cf-talk > Subject: Re: cfcontent and save as > > > This question comes up pretty often. I don't remember if there's actually a fix > or not. I remember people having problems despite using cfheader to define > content-type and dispos

Re: cfcontent and save as

2011-02-24 Thread Michael Grant
This question comes up pretty often. I don't remember if there's actually a fix or not. I remember people having problems despite using cfheader to define content-type and disposition. Perhaps some of these will help: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:24528

RE: cfcontent and save as

2011-02-24 Thread Andrew Scott
You need to use the cfheader tag and tell it the filename. Regards, Andrew Scott http://www.andyscott.id.au/ > -Original Message- > From: Richard White [mailto:rich...@j7is.co.uk] > Sent: Friday, 25 February 2011 5:22 AM > To: cf-talk > Subject: cfcontent and save as > > > Hi, > >

Re: CFcontent puts \n at top of file -- solution?

2011-01-18 Thread Matt Quackenbush
Either of these should work for you... Start text here. OR http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341014 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cf

Re: CFcontent puts \n at top of file -- solution?

2011-01-18 Thread Dave Watts
> I am generating a text file from an online database that needs to be opened > by the VB application with a CHR(10) character delimeter between > fields.  The end user clicks "download" in my application and then saves the > file to their computer to use with the VB application (3rd party > wri

Re: cfcontent to serve PDF files hanging

2010-09-01 Thread Jason Fill
Thank you for the ideas. We are going to change the mime/type and also add some I/O logging to see if we can find a correlation there. Should we find the issue I will certainly post back. Thanks for the time! Jason >ON the other hand... I would expect a mime/type problem to result in an >er

RE: cfcontent to serve PDF files hanging

2010-08-31 Thread Mark A. Kruger
ubject: RE: cfcontent to serve PDF files hanging Good call I think Jake... -Original Message- From: Jake Churchill [mailto:reyna...@gmail.com] Sent: Tuesday, August 31, 2010 11:02 AM To: cf-talk Subject: Re: cfcontent to serve PDF files hanging The only think I could think of is use appli

RE: cfcontent to serve PDF files hanging

2010-08-31 Thread Mark A. Kruger
Good call I think Jake... -Original Message- From: Jake Churchill [mailto:reyna...@gmail.com] Sent: Tuesday, August 31, 2010 11:02 AM To: cf-talk Subject: Re: cfcontent to serve PDF files hanging The only think I could think of is use application/pdf for the Content-Type (that is

Re: cfcontent to serve PDF files hanging

2010-08-31 Thread Jake Churchill
The only think I could think of is use application/pdf for the Content-Type (that is technically the correct mime type). -Jake On Tue, Aug 31, 2010 at 10:33 AM, Jason Fill wrote: > > Our application uses cfcontent to serve back some PDF files and several > times per day, the request for a pdf

Re: CFContent failing on large files since moving to ColdFusion 9

2010-06-22 Thread Daniel Mackey
ailto:dmac...@gmail.com] > Sent: Tuesday, June 22, 2010 10:39 AM > To: cf-talk > Subject: Re: CFContent failing on large files since moving to ColdFusion 9 > > > Unfortunately changing the heap (to 1024) didn't make a blind bit of > difference :-( > > Anyone got any sug

RE: CFContent failing on large files since moving to ColdFusion 9

2010-06-22 Thread Paul Alkema
ackey [mailto:dmac...@gmail.com] Sent: Tuesday, June 22, 2010 10:39 AM To: cf-talk Subject: Re: CFContent failing on large files since moving to ColdFusion 9 Unfortunately changing the heap (to 1024) didn't make a blind bit of difference :-( Anyone got any suggestions on a possible work around? Da

Re: CFContent failing on large files since moving to ColdFusion 9

2010-06-22 Thread Daniel Mackey
Unfortunately changing the heap (to 1024) didn't make a blind bit of difference :-( Anyone got any suggestions on a possible work around? Dan. On Tue, Jun 22, 2010 at 3:24 PM, Daniel Mackey wrote: > That's interesting. I don't get any messages logged and the server stays > up > > I might

Re: CFContent failing on large files since moving to ColdFusion 9

2010-06-22 Thread Daniel Mackey
That's interesting. I don't get any messages logged and the server stays up I might give the heap space a lash and see I'm always confused as to where to set the heap, perma and all that jazz and what effects it all has Dan. On Tue, Jun 22, 2010 at 3:11 PM, Tom Chiverton wrote: >

Re: CFContent failing on large files since moving to ColdFusion 9

2010-06-22 Thread Daniel Mackey
Ugghhh. I was secretly hoping that wasn't going to be the case... Anyone got any alternatives? Could this be performed using Java? Dan. On Tue, Jun 22, 2010 at 3:10 PM, Tom Chiverton wrote: > > On Tuesday 22 Jun 2010 14:57:12 Daniel Mackey wrote: > > > > > > Confirmed broken I think - congr

Re: CFContent failing on large files since moving to ColdFusion 9

2010-06-22 Thread Tom Chiverton
Update: I now can't get anything to work on the box, because : "Error","jrpp-15","06/22/10","15:10:25","billpack","Java heap space The specific sequence of files included or processed is: /home/chivertont/workspace/billpack/webroot/t.cfm'' " java.lang.OutOfMemoryError: Java heap space Of cours

Re: CFContent failing on large files since moving to ColdFusion 9

2010-06-22 Thread Tom Chiverton
On Tuesday 22 Jun 2010 14:57:12 Daniel Mackey wrote: > > Confirmed broken I think - congratulations, you've found a bug in ColdFusion :-) I'm on 64bit SuSE Linux here, so used the CF9.0.0 installer for that O/S - file not found in FireFox. Change the 'file' patch in CFCONTENT to a much small

Re: CFContent failing on large files since moving to ColdFusion 9

2010-06-22 Thread Daniel Mackey
Hi Tom, Everything has been double-checked and request limits checked. I tried on anther CF9 server and the same thing happens. CF8 with the exact same settings works I'm at a complete loss and wondering if anyone else out there with CF9 could try a simple test and see what happens? Dan.

Re: CFContent failing on large files since moving to ColdFusion 9

2010-06-22 Thread Tom Chiverton
On Tuesday 22 Jun 2010 14:11:24 you wrote: > Hi All, > > I was wondering if somebody could help with a problem we have encountered > since moving to ColdFusion 9 from ColdFusion 8. > > When we use CFContent to serve a file, it fails on large files (300+mb) but > works on smaller (-30mb) files. I

Re: cfcontent with excel 2007

2010-01-04 Thread Steve Milburn
I have not tried this, but what if you change the cfcontent type to unknown? Like so: On Thu, Dec 31, 2009 at 2:37 AM, Christophe Maso wrote: > > Have seen a few posts around the web with this problem, but no evident > solution. I have a cfm page that I want to make exportable to excel 20

Re: Cfcontent MS Excel 2007 errors?

2009-12-31 Thread Christophe Maso
I've had the same problem, although the file will open after the user clicks "yes". I Looked to see if there's a different MIME type to use for .xlsx files vs. .xls files, and there is (see http://blogs.msdn.com/vsofficedeveloper/pages/Office-2007-Open-XML-MIME-Types.aspx). But using that mime

Re: cfcontent create file

2009-10-14 Thread Rick Root
On Wed, Oct 14, 2009 at 12:32 PM, Ian Skinner wrote: > > But a 'doc' file type is a binary file type is it not?  In my experience > you can't just write simple text to a with a doc extension and get > anything useful.  I could see this working with an plain text (.txt) or > rich text (.rtf) exten

Re: cfcontent create file

2009-10-14 Thread Ian Skinner
Joshua Rowe wrote: > This should work for you: > > > > This is the content that will go into my .doc file. > This is a test. > > >file="#Replace(ExpandPath('*.*'),'*.*','')#test.doc" > output="#myContent#"> > > > Best regards, > Joshua Rowe But a 'doc' f

Re: cfcontent create file

2009-10-14 Thread Richard White
thanks, that is exactly what we wanted richard ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/messag

RE: cfcontent create file

2009-10-14 Thread Joshua Rowe
This should work for you: This is the content that will go into my .doc file. This is a test. Best regards, Joshua Rowe -Original Message- From: Richard White [mailto:rich...@j7is.co.uk] Sent: Wednesday, October 14, 2009 8:57 AM To: cf-talk Subject: cfcontent cre

RE: cfcontent create file

2009-10-14 Thread Mark Kruger
Richard, You don't really need CFCONTENT (which actually sets up headers in the browser). You are not trying to send your content to the output buffer of IIS. Try cfsavecontent instead. {\rtf1\ansi\ansicpg1252\uc1\deff0=stshfdbch0 etc... -Mark Mark A. Kruger, CFG, MCSE (402) 408-3733

Re: cfcontent create file

2009-10-14 Thread James Holmes
You want cfsavecontent, not cfcontent. Write the contents of the cfsavecontent variable into a file with cffile. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/10/14 Richard White : > > hi > > we are using cfcontent and rich text to create a word doc as f

Re: cfcontent question

2009-07-28 Thread Alan Rother
The first question I would ask is "Why do they want the images stored in a non-web-accessible location" If the answer is something lame like, they don't want users to be able to download them, then you can get around this whole issue as you can tell them that there is no way to totally prevent a u

Re: CFContent and PDF problems

2009-01-21 Thread Ken Willis
I have had this problem before. My extremely low tech solve was to shutdown browser and then remove adobe from memory through the task manager. hope this helps. ~| Adobe® ColdFusion® 8 software 8 is the most important and dra

Re: cfcontent downloads and IE

2008-08-28 Thread tali tsarfati
Hi, Did you manage to figure up this issue? I use IE7 and response.setContentType("application/vnd.ms-excel"); response.setHeader("Content-disposition","attachment; filename=Book.xls"); Like you I get a yellow bar "To help protect your security, IE has blocked this site from downloading files...

RE: CFContent tag

2008-08-16 Thread Nathan Chen
That's it. I can't believe I forgot to turn "enable BlOB" when I updated the dsn today. Thank you! Nathan -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Saturday, August 16, 2008 9:47 PM To: CF-Talk Subject: Re: CFContent tag First, check that

Re: CFContent tag

2008-08-16 Thread James Holmes
First, check that your datasource has the "enable BLOB" checkbox ticked. On Sun, Aug 17, 2008 at 11:44 AM, Nathan Chen wrote: > Hi, All: > > I have a query that selects a BLOB field (embedded file) from a table. > Then I use cfcontent to output the string to the browser. The code has > running fin

Re: CFContent tag

2008-08-16 Thread Brad Wood
Add a cfqueryparam to that code and we'll help you ;-) Have you tried killing the acrobat.exe process to make sure it isn't hung up on something. ~Brad - Original Message - From: "Nathan Chen" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Saturday, August 16, 2008 10:44 PM Subject: CFConte

Re: cfcontent gives my domainname instead of jpeg

2008-04-08 Thread James Holmes
ToString converts the binary into a text encoding so that it can be sent to the browser. Without it you're probably getting the result of an error handler, as binary data can't be directly output without converting to a string and this will be causing an exception. On Tue, Apr 8, 2008 at 9:47 PM,

Re: cfcontent gives my domainname instead of jpeg

2008-04-08 Thread marc --
Hi Adrian, that (ToString) works. With it I get the picture, without it I get my domainname as a pict. Is there some logic behind this? If I save the result.FileContent (a binary stream) to a txt file there is all kind of text but not the domainname. Somehow it is there so that it gets displaye

RE: cfcontent gives my domainname instead of jpeg

2008-04-08 Thread Adrian Lynch
Try: http://images.realworks.nl/servlets/images/media.objectmedia/3803552?wi dth=161&height=121" getasbinary="auto" result="result"/> #ToString(result.Filecontent)# Adrian http://www.adrianlynch.co.uk/ -Original Message- From: marc -- [mailto:[EMAIL PROTECTED] Sent: 08 April 2008 14:12

RE: cfcontent downloads and IE

2008-02-04 Thread Bobby Hartsfield
Isn't it application/msexcel ? ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED] Sent: Monday, February 04, 2008 11:26 AM To: CF-Talk Subject: cfcontent downloads and IE Hello, I am trying to use cfcontent to

Re: cfcontent - excel - numbers beginning with 0

2007-09-14 Thread Terry Schmitt
You state that you are creating an Excel file... Is that an actual Excel binary file or is it a CSV file? As Barney stated, Excel isn't going to allow a number with leading zeros. You can format to display zeros in any app including Excel, but formatting and actual data content are 2 different b

Re: cfcontent - excel - numbers beginning with 0

2007-09-13 Thread Barney Boisvert
You've got a bit of a contradiction in your statements. If it MUST remain numeric, then it's a number, and you can't care about leading zeros because from a numeric perspective 123 and 0123 are identical. If you do care about the leading zeros, then you can't be dealing with a numeric context, you

Re: cfcontent - excel - numbers beginning with 0

2007-09-13 Thread andy mann
bb, tnx problem is that field must remain numeric... also anyone know how to reset default col width when excel file generated? ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on

Re: cfcontent - excel - numbers beginning with 0

2007-09-13 Thread andy mann
tnx bb, as the visitor will be importing excel file into their acctg software, field must remain numeric... also anyone know how to apply col width as seems to default to 48px tnx again >Within Excel itself, prefixing a numberish value with an apostrophe >will make it render as a string (and

Re: cfcontent - excel - numbers beginning with 0

2007-09-13 Thread andy mann
>Within Excel itself, prefixing a numberish value with an apostrophe >will make it render as a string (and be absolved from zero-trimming). >Did you try that? > >cheers, >barneyb > > > >-- >Barney Boisvert >[EMAIL PROTECTED] >http://www.barneyb.com/ > >Got Gmail? I have 100 invites.

Re: cfcontent - excel - numbers beginning with 0

2007-09-13 Thread Barney Boisvert
Within Excel itself, prefixing a numberish value with an apostrophe will make it render as a string (and be absolved from zero-trimming). Did you try that? cheers, barneyb On 9/13/07, andy mann <[EMAIL PROTECTED]> wrote: > I am creating an excel file in cf7 and all works well except when a part

Re: cfcontent - excel - numbers beginning with 0

2007-09-13 Thread Scott Weikert
Dunno how to do this from CF, but Excel allows you to set a format for a cell. So if you set the cell format as 'text', it won't strip the leading zeros. I just fired up Excel, set one column as a 'text' format, the next untouched, and typed in '01234' in both. The first one (text column) held

Re: cfcontent

2007-07-25 Thread Ben Doom
Use cfheader and cfcontent to set they data type, reset the output, etc. Then just print the XML. If you really need to FORCE them to download it (something I'd not recommend), you could always misset the MIME type to something like application/octet-stream. --Ben Doom Chad Gray wrote: > I

RE: cfcontent

2007-07-24 Thread Chad Gray
ssage- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 5:40 PM To: CF-Talk Subject: Re: cfcontent Use the URL encoding for a space [%20] perhaps? But spaces in file names should usually be avoided when possible in web applica

Re: cfcontent

2007-07-24 Thread Ian Skinner
Use the URL encoding for a space [%20] perhaps? But spaces in file names should usually be avoided when possible in web applications. ~| Check out the new features and enhancements in the latest product release - download

RE: cfcontent

2007-07-24 Thread Ben Nadel
[mailto:[EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 5:35 PM To: CF-Talk Subject: RE: cfcontent Hah! Brilliant! Thanks Ben! ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http

RE: cfcontent

2007-07-24 Thread Chad Gray
Hah! Brilliant! Thanks Ben! -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 5:29 PM To: CF-Talk Subject: RE: cfcontent No worries: Wrap file name in double quotes (NO single quotes)... Just remember to escape them

RE: cfcontent

2007-07-24 Thread Ben Nadel
Chad Gray [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 5:26 PM To: CF-Talk Subject: RE: cfcontent Thanks Ian and Ben, I got is working now. Next question. Firefox does not like the fact that the file name has spaces in it. With the below code the file that is saved is "test"

RE: cfcontent

2007-07-24 Thread Chad Gray
How do I get firefox and IE to write out the correct file name? Thanks again! Chad -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 5:12 PM To: CF-Talk Subject: Re: cfcontent You don't put it in the variable paramter, but rather betwee

RE: cfcontent

2007-07-24 Thread Ben Nadel
Chad, Variable only take binary values. Good news - you can easily convert string to binary: .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Chad Gray [mailto:[EMAI

Re: cfcontent

2007-07-24 Thread Ian Skinner
You don't put it in the variable paramter, but rather between the tags. #myXMLString You will probably want to provide the proper content headers with tags before this. ~| Enterprise web applications, build robust, secure s

Re: cfcontent excel session and url variables

2007-04-13 Thread William Burba
Good Afternoon, Thank you all for your replies. Initially, taking out the tags did not yield any negative results. The page came back fine to the browser. Putting the tags back on, and looking at the log files more or less confirmed what was happening, I just don't know why. There is a behi

RE: cfcontent excel session and url variables

2007-04-08 Thread Jaime Metcher
Also check your exception log. Even if an error does make it to the browser it should be logged there. Jaime Metcher > -Original Message- > From: Kris Jones [mailto:[EMAIL PROTECTED] > Sent: Saturday, 7 April 2007 6:58 AM > To: CF-Talk > Subject: Re: cfcontent excel

Re: cfcontent excel session and url variables

2007-04-06 Thread Kris Jones
Hi William, We also use this method for handling excel formatting of reports, although we use the form scope, not the URL. We have also seen the "could not open " error. After much investigation, we found that this error was due to a CF error that would naturally not propagate through to excel

RE: Cfcontent type="application/word" style ignored??

2007-03-30 Thread Ben Nadel
PROTECTED] Sent: Friday, March 30, 2007 4:06 AM To: CF-Talk Subject: Re: Cfcontent type="application/word" style ignored?? Ben Nadel wrote: > I find that word (as web page) puts 3D in front of each of it > attributes: > > > Here is text > > > I think

Re: Cfcontent type="application/word" style ignored??

2007-03-30 Thread Jochem van Dieten
Ben Nadel wrote: > I find that word (as web page) puts 3D in front of each of it > attributes: > > > Here is text > > > I think it is 3D but it might be something else. =3D is the representation of the equals sign "=" in quoted-printable encoding. = is the escape character and 3D is the

Re: Cfcontent type="application/word" style ignored??

2007-03-29 Thread Adrien Akkhazza R. Cardoso
I have done this last week. I had a page with a css full of styles and stuff and worked fine. Maybe it worked on word because I was using the id of the elements instead of classes ( #content { ... } instead of .content { ... } Or maybe because the styles were on the same page. The styles are on t

RE: Cfcontent type="application/word" style ignored??

2007-03-29 Thread Ben Nadel
I find that word (as web page) puts 3D in front of each of it attributes: Here is text I think it is 3D but it might be something else. What kind of document is it really? Is it really just an HTML page that is being used by Word? .. Ben Nadel Certified Advanced Co

Re: cfcontent, deleting images within a page

2007-01-08 Thread Jon Clausen
Scott, You call the captcha file directly from within the tag: When you post the form, you compare the Captcha input to the session variable set in the cfm that generates the captcha. With CFX_Captcha I believe the variable it sets is SESSION.imgvalue HTH, Jon > Hey gang, I'm having some

Re: CFContent and MIME Types

2006-10-20 Thread Justin Holzer
That won't work for CF5. That only works on MX and up as far as I know. On 10/20/06, Rick Root <[EMAIL PROTECTED]> wrote: > > Green Parot wrote: > > I would just like to add that is there anyway to dynamically determine > the MIME type when using cfcontent? > > where filepath is the full physical

Re: CFContent and MIME Types

2006-10-20 Thread Rick Root
Green Parot wrote: > I would just like to add that is there anyway to dynamically determine the > MIME type when using cfcontent? where filepath is the full physical path to a file you wish to determine the mimetype of... #getPageContext().getServletContext().getMimeType(filePath)# should wo

Re: CFContent and MIME Types

2006-10-20 Thread Green Parot
> Hello, > > I'm trying to use on Coldfusion 5 to display files. For > security purposes, I cannot link directly to the files. > > I'm trying to get this to work for any type of file. Currently it > works for .doc and .xls files but not PDF files. > > The page does not throw any exception

Re: CFCONTENT and CFHEADER to download a file on CF 5

2006-08-29 Thread jim collins
"How To Raise a "File Download" Dialog Box for a Known MIME Type" http://support.microsoft.com/default.aspx?scid=kb;EN-US;q260519 Try that. > I've got a .mht (multipart html) that I generated from powerpoint. My > end result is to be able to fill in pieces of a powerpoint slide on > the fly

Re: cfcontent error - IE6 XP SP2 client and Win 2003 server

2006-07-25 Thread Robertson-Ravo, Neil (RX)
arily those expressed by Reed Exhibitions." Visit our website at http://www.reedexpo.com -Original Message- From: michael acadia <[EMAIL PROTECTED]> To: CF-Talk Sent: Fri Jul 21 20:30:52 2006 Subject: RE: cfcontent error - IE6 XP SP2 client and Win 2003 server Is the productio

Re: cfcontent error - IE6 XP SP2 client and Win 2003 server

2006-07-21 Thread Michael Acadia
Peter, I'm using the same cache-control values on my server for the same reason. I'll have to try removing 'no-cache, no-store'. I'm not sure how or if that would affect form submissions. Unfortunately, I'm about to take off for a week and won't have a chance to test until I get back. FWIW, her

Re: cfcontent error - IE6 XP SP2 client and Win 2003 server

2006-07-21 Thread Peter Legg
Michael, Yes, that's it! I added the following to the application.cfm file recently: I did it primarily to prevent those logged out from using the back button to view the previous pages. I removed "no-cache, no-store," from the last one and it works fine - still prevents the use of the b

RE: cfcontent error - IE6 XP SP2 client and Win 2003 server

2006-07-21 Thread michael acadia
Is the production server using a "Cache-Control: no-cache" HTTP header? I ran into a similar problem yesterday when opening a Word doc served by (Win2k3 server). If MS Word was closed when I tried to open the doc from the web page, the no-cache was deleting the file before Word started up - resu

Re: CFContent cancels out JS

2005-11-02 Thread daniel kessler
That worked great! I kept the download code as a separate page and just did a cfinclude on it. Wonderful. Thank for your help! > It's even eaiser than that. > > > ... > etc for the cfcontent bit > > > > ~| Logwa

Re: CFContent cancels out JS

2005-11-02 Thread James Holmes
It's even eaiser than that. ...etc for the cfcontent bit This way the page shows the webpage in the browser unless the form button is clicked - the self posting form then causes the excel file to download with out any of the annoying new window stuff. I've used this exact technique in

Re: CFContent cancels out JS

2005-11-02 Thread daniel kessler
Can you walk me through this a touch? I have a page that dumps a database using cfdump. Above the cfdump is a button that says "download to excel". If clicked, do I reload the page, do a cfcontent and output the database info into a table, then reload the original page (with the button and th

Re: CFContent cancels out JS

2005-11-01 Thread daniel kessler
well, I'd like the blank window to close instead of just sitting there with the user wondering what to do. It doesn't seem that I can put a close before the cfcontent either. I put this content on a seperate page because otherwise it tries to take all my page information (banner, menus, etc) and

RE: CFContent cancels out JS

2005-11-01 Thread Dave Watts
> I display a database (cfdump) with a "download database" button at > the top. That'll take you to another page that downloads the > database using the table as a file_name. This is done through > cfcontent. > When I do this, it opens up a new window, so at the end of the CF > code, I pu

RE: CFContent cancels out JS

2005-11-01 Thread Dawson, Michael
GFI MailSecurity's HTML threat engine found HTML scripts in this email and has disabled them.Hmmm. The only place I've seen this happen is with Firefox where it opens a window, or tab, when you click a link that starts a download. However, I have not seen this happen in IE. Technically, I don

RE: CFContent question ...

2005-08-31 Thread S . Isaac Dealey
that, at least I won't waste any more time > looking :-) > -Original Message- > From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] > Sent: 31 August 2005 17:29 > To: CF-Talk > Subject: Re: CFContent question ... >> After I have created a document using cfdocumen

  1   2   3   4   5   >