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" wrote: > > > Sathya - > > I'

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

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

2014-06-14 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. Thanks&Regards, Sathya ~| Order the Adobe Coldfusion Antho

Re: No directory deletion after cfcontent

2013-08-23 Thread Russ Michaels
dfs 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

Re: No directory deletion after cfcontent

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

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: 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 > w

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 wrote: > > I'm attempting to use cfheader/cfcontent to allow our users to download > file

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, b

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
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
te: > > > > > try this. > > http://www.sitepoint.com/forums/showthread.php?640127-changing-filen > > ame-of-download-in-cfcontent > > > > > > > > ~| Order the Ado

Re: cfcontent changing name of file

2012-12-29 Thread Rob Voyle
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 > > ~| Order th

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 &

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 handoutFile is the absolute path & #handout# to a non web part of the server where the handouts are . Works fine except when someone wants to save the file to their computer the file is called

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: C

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 can

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

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 should

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 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 "Th

File download speed disparity via CFContent

2012-03-03 Thread Dana Kowalski
un 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

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/cfco

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 a

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: 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" wrote: > so we have our file data stored in a blob. > upgrading fro

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 fiel

cfcontent parent page issues

2011-10-19 Thread Dawn Sekel
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 pag

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 sh

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 "m

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 t

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 group of tags and related functions. Azadi On 28/06/2011 23:26 , Feras Nabulsi

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 for

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

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 t

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: Attribute validation error for tag cfcontent

2011-04-12 Thread Russ Michaels
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

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

CFContent and IE open/save

2011-03-16 Thread Brent Nicholas
I'm wondering if anyone else has seen this issue. Use the following code to get files from the server for end users GetFile.cfm 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 as is the size in the

Re: same content different result CFFile vs CFContent

2011-03-15 Thread Mack
First, make sure that cfsavecontent doesn't introduce any spaces: #myFile# Second, I would include the file name in quotes in the Content-Disposition header: http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/mes

same content different result CFFile vs CFContent

2011-03-14 Thread Dawn Sekel
I am converting some code that originally used CFFILE to write the contents of a variable to a file on the server and then attached it to an email and emailed. For security reasons, we have switched to https:// and are providing a link for an authenticated user that takes the contents of the v

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
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, > > for security we sto

RE: cfcontent and save as

2011-02-25 Thread UXB
...@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 a cfcontent tag to serve the file to the user. the problem is when the user clicks the link they are displayed a download

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 an

Re: cfcontent and save as

2011-02-24 Thread Michael Grant
<http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339828> On Thu, Feb 24, 2011 at 1:56 PM, Andrew Scott wrote: > > 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 > > val

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 Regards, Andrew Scott http://www.andyscott.id.au/ > -Original Message- > From: Michael Grant [mailto:mgr...@modus.bz] > Sent: Friday, 25 Febr

Re: cfcontent and save as

2011-02-24 Thread Michael Grant
4528 <http://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 wrote: > > Hi, > > for security we store xls documents in a non-web root folder. We t

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 sav

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 &#

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

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

2011-01-18 Thread Dawn Sekel
I have a web application that creates writes text string of data to be used by a VB application and streams it to a file to be saved on the end user's computer. I am generating a text file from an online database that needs to be opened by the VB application with a CHR(10) character delimete

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" wrote: ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Co

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" wrote: We are serving files from a file

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: 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 wrote: > > On Tuesday, October 12, 2010, Dave Watts 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 U

Re: jQuery and cfcontent

2010-10-12 Thread Dan G. Switzer, II
On Tuesday, October 12, 2010, Dave Watts 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 build the iframe d

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

Re: jQuery and cfcontent

2010-10-12 Thread Michael Grant
> 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 which will trigger the download. > > Thanks > Victor > > On Tue, Oct 12, 2010 at 1:47 PM, Michael Gr

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 an

Re: jQuery and cfcontent

2010-10-12 Thread Michael Grant
Here's a working example: On Tue, Oct 12, 2010 at 1:36 PM, Victor Moore wrote: > > 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 > > Vic

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 wrote: > > I usually locate to another page which holds t

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 loca

Re: jQuery and cfcontent

2010-10-12 Thread Michael Grant
P.S. I use application/unknown to force it as a download. On Tue, Oct 12, 2010 at 1:03 PM, Michael Grant wrote: > Try this, of course swapping out the variable value to whatever var name > holds you xls content: > > > > > > > > On Tue, Oct 12, 2010 at 11:49 AM, Victor Moore wrote: > >> >> Hi,

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: On Tue, Oct 12, 2010 at 11:49 AM, Victor Moore wrote: > > 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

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. I

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

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: Style sheets with cfcontent

2010-08-26 Thread Carl Von Stetten
I've had the same problem in the past. Instead of using a to load the stylesheet, try this in the section of your page: This will embed the external stylesheet into your page. HTH, Carl > Hi All - > > I am trying to export som

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 simi

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

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
> 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 smaller f

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' pa

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

2010-06-22 Thread Daniel Mackey
Dan. On Tue, Jun 22, 2010 at 2:50 PM, Tom Chiverton wrote: > > 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. > >

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

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, the

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 j

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

2010-06-17 Thread William Attwood
Sent from my iPhone On Jun 17, 2010, at 4:49 PM, Dave Watts wrote: > >> 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

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

2010-06-17 Thread Dave Watts
> > Well, creating a symlink is a very easy thing, and it doesn't take > > nearly as long as serving a file > > Maybe I am misunderstanding this concept. Could you provide a loose example. A symlink is just a pointer. When you create one, you're allowing access to the file from two different loca

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

2010-06-17 Thread UXB Internet
>> Well, creating a symlink is a very easy thing, and it doesn't take >> nearly as long as serving a file Maybe I am misunderstanding this concept. Could you provide a loose example. Thanks. ~| Order the Adobe Coldfusion Anthol

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

2010-06-17 Thread Dave Watts
> This was another thought as well but the issue there is moving those files > back and forth programmatically with CF. I thought that it would use as much > processor/threads as actually serving it up. Well, creating a symlink is a very easy thing, and it doesn't take nearly as long as serving a

  1   2   3   4   5   6   7   8   9   10   >