Restrict the user from editing the excel sheet exported using cfcontent tag.

2014-06-15 Thread Sathyanarayanan Ramanathan
Dear Friends, Is there anyway we can restrict the user from editing the excel sheet exported using cfcontent tag. Your time help is really appreciated. ThanksRegards, Sathya ~| Order the Adobe Coldfusion Anthology now

Re: Restrict the user from editing the excel sheet exported using cfcontent tag.

2014-06-15 Thread C. Hatton Humphrey
Sathya - I'm no expert on CFContent but you might be able to extend the concept presented in http://www.bennadel.com/blog/461-creating-microsoft-excel-documents-with-coldfusion-and-xml.htm which uses a CFSaveContent to create an XML definition of a spreadsheet and then CFContent to save the file

Re: Restrict the user from editing the excel sheet exported using cfcontent tag.

2014-06-15 Thread M.A. Kruger
Keep in mind that setting a file level password is going to be the lowest form of security. it will be easy for even a casually determined user to crack. Sent from my iPhone On Jun 15, 2014, at 8:03 AM, C. Hatton Humphrey chumph...@gmail.com wrote: Sathya - I'm no expert on CFContent

No directory deletion after cfcontent

2013-08-23 Thread daniel kessler
I am on CF9. I am making a temp folder and putting pdfs in it. Then I do a merge. Afterwards, I do a CFContent to view the pdf. Then I do a cfdirectory, get a list of the Directories and delete any directories over an hour old. This is not working. If I comment out the cfcontent, it works

Re: No directory deletion after cfcontent

2013-08-23 Thread Carl Von Stetten
I believe cfcontent effectively issues an abort after execution (at least the CF10 docs say so, not sure about CF9), so any code that follows the cfcontent is not executed. You might be better off setting up a recurring scheduled task to do your directory cleanup. HTH, -Carl V

Re: No directory deletion after cfcontent

2013-08-23 Thread Russ Michaels
in it. Then I do a merge. Afterwards, I do a CFContent to view the pdf. Then I do a cfdirectory, get a list of the Directories and delete any directories over an hour old. This is not working. If I comment out the cfcontent, it works fine and all is well. Put the cfcontent back in and my

Re: trouble with cfheader/cfcontent

2013-06-19 Thread Dave Watts
I'm attempting to use cfheader/cfcontent to allow our users to download files and programs from our site. With *.exe files it is copying the file name correctly but the size does not match to the original file size. For example, the site has a file named WG.exe with a size of 1587KB

trouble with cfheader/cfcontent

2013-06-18 Thread Randy Robinson
I'm attempting to use cfheader/cfcontent to allow our users to download files and programs from our site. With *.exe files it is copying the file name correctly but the size does not match to the original file size. For example, the site has a file named WG.exe with a size of 1587KB

Re: trouble with cfheader/cfcontent

2013-06-18 Thread Dean Lawrence
Randy, This is more than likely your web server restricting the downloading of .exe files and not ColdFusion. Check with your server config. On Tue, Jun 18, 2013 at 4:13 PM, Randy Robinson rlrobin...@sartellgroup.com wrote: I'm attempting to use cfheader/cfcontent to allow our users

Creating DOC file with image using CFCONTENT

2013-04-04 Thread Chad Baloga
I am trying to create a word document with images. I have all the of the HTML in a cfsavecontent, then I use that variable to write the document, then open it with cfcontent. I have done this successfully in the past but now I have a document with an image. How can I get it to use an image

Re: cfcontent changing name of file

2012-12-30 Thread Rob Voyle
: cfheader name=Content-disposition value=inline;filename=#handout# / cfcontent type=application/pdf file=#handoutfile# deleteFile = no / 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

Re: cfcontent changing name of file

2012-12-30 Thread Claude Schnéegans
cfheader name=Content-disposition value=inline;filename=#handout# / cfcontent type=application/pdf file=#handoutfile# deleteFile = no / 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

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 cfheader name=Content-disposition value=inline;filename=#handout# / cfcontent type=application/pdf file=#handoutfile# deleteFile

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!

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

cfcontent changing name of file

2012-12-29 Thread Rob Voyle
Hi Folks I have a webpage called classroom.cfm It serves up a series of pdf handouts using cfcontent type = application/pdf file=#handoutFile# deleteFile = no handoutFile is the absolute path #handout# to a non web part of the server where the handouts are . Works fine except when

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 robvo...@voyle.com wrote: Hi Folks I have a webpage called classroom.cfm It serves up a series of pdf handouts using cfcontent type

Re: cfcontent changing name of file

2012-12-29 Thread Rob Voyle
the file not view the file. I want people to first view it and then save it if they want. Rob On 30 Dec 2012 at 2:34, Russ Michaels wrote: try this. http://www.sitepoint.com/forums/showthread.php?640127-changing-filen ame-of-download-in-cfcontent

Re: cfcontent changing name of file

2012-12-29 Thread Dan G. Switzer, II
Michaels wrote: try this. http://www.sitepoint.com/forums/showthread.php?640127-changing-filen ame-of-download-in-cfcontent ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology

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 Claude Schnéegans
You need two tags: one to set the file name, one to send return the document cfheader name=Content-Disposition value=attachment; filename=myFile.pdf cfcontent type = application/pdf file=#handoutFile# DELETEFILE=no RESET=yes

CFCONTENT ClientAbortException: java.net.SocketException w/ CF10

2012-11-19 Thread Chad Baloga
We upgraded to CF10 over the weekend and now we are getting errors on large cfontent file downnloads. The users say the download finishes fine for them and they do not see any errors. Error Message: The cause of this output exception was that: ClientAbortException: java.net.SocketException:

CFCONTENT does not reset

2012-08-06 Thread Claude Schnéegans
Hi, I came across a problem with CFCONTENT. Even if the attribute RESET=yes is used, the content which was previously set by cfhtmlhead is not reset. Ex 1: cfhtmlhead text = 'This is in the head section' cfcontent type=text/html; charset=ISO-8859-1 RESET=yes This shouldn't have the head

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 cfhtmlhead is not reset. Ex 1: cfhtmlhead text = 'This is in the head section' cfcontent type=text/html; charset=ISO-8859-1 RESET=yes This shouldn't have the head

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 HEAD.../HEAD

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

File download speed disparity via CFContent

2012-03-03 Thread Dana Kowalski
on win2k3 server. We have a requirement to use secure downloads off our file structure, based on cascading permissions. Both pages are currently using CFContent to send the user the file. The app servers under equal load conditions, going through the same router to an OC-3, are having a large

RE: Difference between cfcontent and cfheader in terms its usage?

2012-02-16 Thread Bobby Hartsfield
as the names suggest, cfheader is for creating HTTP response headers and cfcontent is for sending mime encoded content (generally that of a file). cfcontent can set the mime content header but it's the only header it sets. http://cfdocs.org/cfheader http://cfdocs.org/cfcontent

Difference between cfcontent and cfheader in terms its usage?

2012-02-15 Thread Jay Pandya
Difference between cfcontent and cfheader in terms its usage? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com

Re: Difference between cfcontent and cfheader in terms its usage?

2012-02-15 Thread Justin Scott
Difference between cfcontent and cfheader in terms its usage? Generally, cfcontent is used to serve up a file from the server through ColdFusion (could be a generated PDF document, tracking image, or any other file you want to have ColdFusion serve up for you through the code). You can also

Re: jboss cfcontent variable xls file no lopnger working.

2012-02-01 Thread morchella
well this was an easy fix. in CfAdmin there is a setting under the Advanced Settings to Enable binary large object retrieval (BLOB). In my case, it was unchecked. On the New server instance. On Jan 30, 2012 7:13 PM, morchella morchella.delici...@gmail.com wrote: so we have our file data stored

jboss cfcontent variable xls file no lopnger working.

2012-01-30 Thread morchella
so we have our file data stored in a blob. upgrading from websphere cf7 to jboss. cf9 for some reason i cant for the life of me trouble shoot correctly. some/most xls are no longer downloading correctly. if i upload a simple xls it works. so does an xls. but existing binary data from a blob

cfcontent parent page issues

2011-10-19 Thread Dawn Sekel
on the select list parameters passed to the cfquery via form variable. - a hyperlink in the form (not a submit), target=_blank opens same index.cfm using saveas=excel url parameter via cfcontent to display table data to Excel instead of html. - When the user clicks the hyperlink, the page opens

Re: Specifying Excel Data Types in CFCONTENT?

2011-08-03 Thread Feras Nabulsi
Thanks for the info, now that the project is not hold anymore, I will do this. I've used the POIUtility long ago, I'll check it out again. so I can't develop for 9 strictly yet. As an alternative, try the POIUtility.cfc. Like cfspreadsheet it generates a true Excel file. IIRC it should

Re: Specifying Excel Data Types in CFCONTENT?

2011-06-29 Thread Feras Nabulsi
Thanks Azadi, I know there are some additional features for the recent versions. I am using CF9 on my Dev by still CF7 on Production, so I can't develop for 9 strictly yet. Thanks for your help no, there isn't. cfcontent basically just tells the browser which mime type the content being

Re: Specifying Excel Data Types in CFCONTENT?

2011-06-29 Thread Leigh
so I can't develop for 9 strictly yet. As an alternative, try the POIUtility.cfc. Like cfspreadsheet it generates a true Excel file. IIRC it should work on MX7 too. If you prefer to stick with pseudo-excel files (ie html) there are a lot of old css tricks floating around. Do a search on

Specifying Excel Data Types in CFCONTENT?

2011-06-28 Thread Feras Nabulsi
Hello, I am using CFContent to create an excel spreadsheet. The type of data is different, some are currency and some are integers, ...etc. Each of these fields once put into Excel should be specified in order to properly format the spreadsheet. Is there a way to specify a data type

Re: Specifying Excel Data Types in CFCONTENT?

2011-06-28 Thread Azadi Saryev
no, there isn't. cfcontent basically just tells the browser which mime type the content being delivered is to help the browser figure out how to display it. if you are on a recent cf version, check out cfspreadsheet group of tags and related functions. Azadi On 28/06/2011 23:26 , Feras

CFCONTENT in the background?

2011-06-16 Thread Terry Troxel
How can I pass content to Cfdocument and have it create and save a Pdf in the background without opening the Pdf? I then want to use Cfpdf to append this Pdf to an existing Pdf. I sure hope this is possible. Terry ~| Order

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

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!

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

Attribute validation error for tag cfcontent

2011-04-12 Thread Paulo Roberto
Hello, I have a system by which countless times intermittently, the following error occurs only with the browser refresh (F5), restores. I wonder what can be wrong for this problem from occurring Error: Attribute validation error for tag cfcontent coldfusion.runtime.Array is not a supported

Re: Attribute validation error for tag cfcontent

2011-04-12 Thread Russ Michaels
can be wrong for this problem from occurring Error: Attribute validation error for tag cfcontent coldfusion.runtime.Array is not a supported variable type. The variable is expected to contain binary data. I use the CF8 on my systems and database SQL Server 2005

CFContent and IE open/save

2011-03-16 Thread Brent Nicholas
=#filename# cfheader name=Expires value=#Now()# cfheader name=Content-Length value=#fileInfo.size# cfcontent type=#mimeType# file=#folder##filename# deletefile=No It works fine however, I do not see the 'Always ask for this type of file' check box, it's missing. The type of file is noted

Re: same content different result CFFile vs CFContent

2011-03-15 Thread Mack
#-#userInfo.fName#-#userInfo..UserID#-FI.txt' Third, just output the variable in the cfcontent tag, there's no need to pass through base64 -- Mack ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe

same content different result CFFile vs CFContent

2011-03-14 Thread Dawn Sekel
the text. To do so, we have to convert it to Base64 first, then convert that to binary. --- cfcontent type=text/plain reset=true variable=#ToBinary(ToBase64(strText))# / ~| Order the Adobe Coldfusion Anthology now! http

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!

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!

Re: Is there a way to replace the default HTTP header info with cfcontent?

2011-03-02 Thread steven wolff
Thanks for your suggestion. I'm sure your solution would have worked but I started messing with getPageContext() and was able to use that to overwrite the existing headers. I found that by doing the following after cfcontent it corrected my problem. cfset getPageContext

Re: Is there a way to replace the default HTTP header info with cfcontent?

2011-03-02 Thread steven wolff
Thanks for your suggestion. I'm sure your solution would have worked but I started messing with getPageContext() and was able to use that to overwrite the existing headers. I found that by doing the following after cfcontent it corrected my problem. cfset getPageContext

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!

Re: cfcontent and save as

2011-02-26 Thread Richard White
name=Content-Disposition value=Attachment;FILENAME=#fileName# charset=utf-8 cfcontent type = application/vnd.ms-excel; charset=utf-8 file=#fullPath# deleteFile = yes many thanks ~| Order the Adobe Coldfusion Anthology now

Re: cfcontent and save as

2011-02-26 Thread Michael Grant
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: cfheader name=Content-Disposition value=Attachment;FILENAME=#fileName# charset=utf-8 cfcontent type

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 click

RE: cfcontent and save as

2011-02-25 Thread UXB
://www.uxbinternet.com W: http://www.ctbusinesslist.com -Original Message- From: Richard White [mailto:rich...@j7is.co.uk] Sent: Thursday, February 24, 2011 1:22 PM To: cf-talk Subject: cfcontent and save as Hi, for security we store xls documents in a non-web root folder. We then use

Re: cfcontent and save as

2011-02-25 Thread Wil Genovese
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.uk] Sent: Thursday, February 24, 2011 1:22 PM To: cf-talk Subject: cfcontent and save as Hi

cfcontent and save as

2011-02-24 Thread Richard White
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 click 'open with ms excel', but if they click 'save

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 and save as

2011-02-24 Thread Michael Grant
://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:24528 http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:8207 On Thu, Feb 24, 2011 at 1:22 PM, Richard White rich...@j7is.co.uk wrote: Hi, for security we store xls documents in a non-web root folder. We then use a cfcontent

RE: cfcontent and save as

2011-02-24 Thread Andrew Scott
As long as you use attachment as well as filename in the cfcontent you will never have a problem. So it should something like this cfheader name=Content-Disposition value=Attachment;FILENAME=#FileName# Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From

Re: cfcontent and save as

2011-02-24 Thread Michael Grant
://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339828 On Thu, Feb 24, 2011 at 1:56 PM, Andrew Scott andr...@andyscott.id.auwrote: As long as you use attachment as well as filename in the cfcontent you will never have a problem. So it should something like this cfheader name=Content

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

2011-01-18 Thread Dawn Sekel
to convert it to Base64 first, then convert that to binary. --- cfcontent type=text/plain reset=true variable=#ToBinary(ToBase64(strText))# / ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion

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 written).

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

2011-01-18 Thread Matt Quackenbush
Either of these should work for you... cfsavecontent variable=strTextStart text here. /cfsavecontent OR cfcontent type=text/plain reset=true variable=#ToBinary(ToBase64(trim(strText)))# / ~| Order the Adobe Coldfusion

Alternative to CFCONTENT

2010-10-29 Thread Chad Baloga
We are serving files from a file server to users using cfcontent/cfheader. When we upgraded to CF9, we started getting the java heap space errors when users would try to download files larger than 250mb. We have the min and max heap space settings on 1024mb. Are there any other alternatives

Re: Alternative to CFCONTENT

2010-10-29 Thread Russ Michaels
The reason most people use cfcontent like this is to secure files from public access. The alternative is just to use authenticated access using. Htaccess, this means users must login to access files. Russ On 29 Oct 2010 17:45, Chad Baloga cbal...@gmail.com wrote: We are serving files from

Re: Alternative to CFCONTENT

2010-10-29 Thread Mark Mandel
Try mod xsendfile if you are on apache http://tn123.ath.cx/mod_xsendfile/ Mark Sent from my mobile device On 30 Oct 2010 03:45, Chad Baloga cbal...@gmail.com wrote: ~| Order the Adobe Coldfusion Anthology now!

Re: jQuery and cfcontent

2010-10-13 Thread enigment
+1 for Dan's approach. Dave On Tue, Oct 12, 2010 at 10:12 PM, Dan G. Switzer, II dswit...@pengoworks.com wrote: On Tuesday, October 12, 2010, Dave Watts dwa...@figleaf.com wrote: You can't prompt the user to download a file if you're invoking the URL with standard jQuery AJAX calls. You

jQuery and cfcontent

2010-10-12 Thread Victor Moore
Hi, I have a page with a button on it. When the button is clicked a jQuery script runs a cfc , which basically cfoutputs the query in a table, puts it a variables and returns it I need to download the returned table in excel. Unfortunately it doesn't work and the table is displyed on the page.

Re: jQuery and cfcontent

2010-10-12 Thread Michael Grant
Try this, of course swapping out the variable value to whatever var name holds you xls content: cfheader name=Content-disposition value=attachment; filename=fileName.xls / cfcontent type=application/unknown variable=your-XLS-content-var / On Tue, Oct 12, 2010 at 11:49 AM, Victor Moore

Re: jQuery and cfcontent

2010-10-12 Thread Michael Grant
=fileName.xls / cfcontent type=application/unknown variable=your-XLS-content-var / On Tue, Oct 12, 2010 at 11:49 AM, Victor Moore victor.mo...@gmail.comwrote: Hi, I have a page with a button on it. When the button is clicked a jQuery script runs a cfc , which basically cfoutputs the query

Re: jQuery and cfcontent

2010-10-12 Thread Tony Bentley
I usually locate to another page which holds the cfheader code. What ends up happening when you locate to another page is you are never redirected and the page prompts to download. Doing it in jquery is unnecessary unless you want to use a wait icon to ensure the processing is finished before

Re: jQuery and cfcontent

2010-10-12 Thread Victor Moore
I think I may end up using this approach, to open a new window. @Michael the variable is expected to contain binary data. In my case is just a string. Thank you guys Much appreciated Victor On Tue, Oct 12, 2010 at 1:11 PM, Tony Bentley cascadefreehee...@gmail.com wrote: I usually locate to

Re: jQuery and cfcontent

2010-10-12 Thread Michael Grant
Here's a working example: !--- Read the file --- cffile action = read file = /seedRequests.xls variable = xlsXML !--- Set content-dispostion --- cfheader name=Content-disposition value=attachment; filename=seedRequests.xls / !--- feed the file to the browser --- cfcontent type=application

Re: jQuery and cfcontent

2010-10-12 Thread Victor Moore
Hi Michael, Thanks for the example. My case it's a little bit different. I get the info from a db call and want to allow the user to download it as an excel file. And it works fine in stand alone mode but when invoked through jQuery the cfcontent is ignored. So I had to manually open another

Re: jQuery and cfcontent

2010-10-12 Thread Michael Grant
file. And it works fine in stand alone mode but when invoked through jQuery the cfcontent is ignored. So I had to manually open another window which will trigger the download. Thanks Victor On Tue, Oct 12, 2010 at 1:47 PM, Michael Grant mgr...@modus.bz wrote: Here's a working example

Re: jQuery and cfcontent

2010-10-12 Thread Dave Watts
Thanks for the example. My case it's a little bit different. I get the info from a db call and want to allow the user to download it as an excel file. And it works fine in stand alone mode but when invoked through jQuery the cfcontent is ignored. So I had to manually open another window

Re: jQuery and cfcontent

2010-10-12 Thread Dan G. Switzer, II
On Tuesday, October 12, 2010, Dave Watts dwa...@figleaf.com wrote: You can't prompt the user to download a file if you're invoking the URL with standard jQuery AJAX calls. You have to basically just fetch the URL into a new or blank window. I'd recommend posting to an iframe. You can even

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

cfcontent to serve PDF files hanging

2010-08-31 Thread Jason Fill
Our application uses cfcontent to serve back some PDF files and several times per day, the request for a pdf will just hang, like 300,000 + milliseconds to bring back a PDF that is already created. The code we are using is quite simple and each users file is fully generated before this call

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 jasonf...@gmail.com wrote: Our application uses cfcontent to serve back some PDF files and several times per day

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

RE: cfcontent to serve PDF files hanging

2010-08-31 Thread Mark A. Kruger
: 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 application/pdf

Style sheets with cfcontent

2010-08-26 Thread fun and learning
Hi All - I am trying to export some data to excel, and the CSS styles do not seem to be working. It works fine when I use inline style attribute, but when I use class attributes and link to the external stylesheet, it does not seem to be working. I am using MS Office 2003. Did anyone face

Re: Style sheets with cfcontent

2010-08-26 Thread Carl Von Stetten
I've had the same problem in the past. Instead of using a link to load the stylesheet, try this in the head section of your page: head style cfinclude template=/path-to-your-css/your-css-file.css /style This will embed the external stylesheet into your page. HTH, Carl Hi All - I am

CSS and cfcontent

2010-07-26 Thread fun and learning
Hi All- Does linked CSS document apply styles to the HTML within cfcontent (type=excel). I do not see any CSS formatting in the excel document... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe

CFContent failing on large files since moving to ColdFusion 9

2010-06-22 Thread Daniel Mackey
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. It fails consistantly without a ColdFusion error

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

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

2010-06-22 Thread Daniel Mackey
? cfheader name=Content-Disposition value=attachment; filename=cf9.exe cfcontent type=unknown file=C:\temp\cf9.exe deletefile=No Dan. On Tue, Jun 22, 2010 at 2:50 PM, Tom Chiverton tom.chiver...@halliwells.com wrote: On Tuesday 22 Jun 2010 14:11:24 you wrote: Hi All, I was wondering if somebody

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: cfheader name=Content-Disposition value=attachment; filename=cf9.exe cfcontent type=unknown file=C:\temp\cf9.exe deletefile=No Confirmed broken I think - congratulations, you've found a bug in ColdFusion :-) I'm on 64bit SuSE Linux here

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 course a swift

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

2010-06-22 Thread Daniel Mackey
=Content-Disposition value=attachment; filename=cf9.exe cfcontent type=unknown file=C:\temp\cf9.exe deletefile=No 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

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

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 dmac...@gmail.com wrote: That's interesting. I don't get any messages logged and the server stays

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

2010-06-22 Thread Paul Alkema
[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? Dan. On Tue

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

2010-06-22 Thread Daniel Mackey
] 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? Dan. On Tue, Jun 22, 2010

RE: Serving Files via cfcontent - how much processing is required

2010-06-18 Thread UXB Internet
Mark: otherwise I would say use mod_xsendfile I have sort of gone down the IIS road but have found a company that has an Apache emulator ISAPI that is willing to add that functionality to their product. http://www.helicontech.com/ape/ I will see what they come up with. Dave: A symlink is just

Serving Files via cfcontent - how much processing is required

2010-06-17 Thread UXB Internet
cfcontent to serve protected files on extranet applications however the traffic ( 10-20 files/day) is nowhere near as rigorous as will be required here with 12,000 per day of 40Meg average per file. I am considering serving the files now through cfcontent via HTTP instead of FTP for a couple

Re: Serving Files via cfcontent - how much processing is required

2010-06-17 Thread Dave Watts
In other applications I routinely use cfcontent to serve protected files on extranet applications however the traffic ( 10-20 files/day) is nowhere near as rigorous as will be required here with 12,000 per day of 40Meg average per file.  I am considering serving the files now through

  1   2   3   4   5   6   7   8   9   10   >