Re: size limit for cffile?

2006-07-13 Thread Jochem van Dieten
Matt Robertson wrote: Yes I know :-) I'm saying that I cannot get the conditional loop to work, and I cannot recall ever needing an isdefined in a non-cfscripted loop so I have nothing to fall back upon. cfset srcFile = C:/JRun4/bin/jvm.config cfset fr =

Re: size limit for cffile?

2006-07-13 Thread Matt Robertson
On 7/12/06, Jochem van Dieten [EMAIL PROTECTED] wrote: cfloop condition='isDefined(str)' I am such an idiot... single quotes on the OUTSIDE. The one thing I didn't try. Thanks Jochem! -- [EMAIL PROTECTED] Janitor, MSB Web Systems mysecretbase.com

RE: size limit for cffile?

2006-07-13 Thread Munson, Jacob
Does this work for binary files? I suppose it should, but the reading line by line bit makes me curious. -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 3:07 PM To: CF-Talk Subject: Re: size limit for cffile? For what it's worth, I

size limit for cffile?

2006-07-12 Thread Matt Robertson
I have a client who has the need to read in real big text files daily. 100mb plus. Anyone know what the functional limit is on cffile, if any? Server has 2gb of RAM and is a dual Xeon. -- [EMAIL PROTECTED] Janitor, MSB Web Systems mysecretbase.com

Re: size limit for cffile?

2006-07-12 Thread Rick Root
Matt Robertson wrote: I have a client who has the need to read in real big text files daily. 100mb plus. Anyone know what the functional limit is on cffile, if any? Server has 2gb of RAM and is a dual Xeon. If I were on another list, I'd just tell you to search the archives. ;) but

Re: size limit for cffile?

2006-07-12 Thread Matt Robertson
Well this isn't quite the same old question, and its my fault for not being clear. I'm asking strictly about the READ attribute. I already have the file placed on the server via SSH. And the plot has thickened since I first posted. What I am finding is I can get the file into memory (an 89 mb

RE: size limit for cffile?

2006-07-12 Thread Ben Forta
- From: Matt Robertson [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 3:53 PM To: CF-Talk Subject: Re: size limit for cffile? Well this isn't quite the same old question, and its my fault for not being clear. I'm asking strictly about the READ attribute. I already have the file placed

Re: size limit for cffile?

2006-07-12 Thread Rick Root
Sorry, Matt, I didn't read close enough either! There are threads out there also relating to READING large files. However, I'd probably also suggest looking into using the java file I/O stuff to avoid the issues relating to load a 100MB file into memory and dealing with it. Because I love

Re: size limit for cffile?

2006-07-12 Thread Matt Robertson
oooh. Thanks Rick! One of these days I need to learn that stuff. Reminds me of something else too. Geez what a bum I am. Check your paypal box in a bit. -- [EMAIL PROTECTED] Janitor, MSB Web Systems mysecretbase.com ~|

Re: size limit for cffile?

2006-07-12 Thread Rick Root
For what it's worth, I just ran some tests reading a 4MB file, looping through line by line and performing some simple math (cnt = cnt + 1) The java method was CONSISTENTLY around 375ms on my server. I hit reload like 30 times and it was never below 350ms and never above 500ms, and almost

Re: size limit for cffile?

2006-07-12 Thread B V
Hmm. Interesting idea Calling JAVA objects. I should really get into that. Power fo Java with Coldfusion ease On 7/12/06, Matt Robertson [EMAIL PROTECTED] wrote: oooh. Thanks Rick! One of these days I need to learn that stuff. Reminds me of something else too. Geez what

Re: size limit for cffile?

2006-07-12 Thread Rick Root
B V wrote: Hmm. Interesting idea Calling JAVA objects. I should really get into that. Power fo Java with Coldfusion ease I always find it fun to do java integration like this =) I just blogged this whole thing too

Re: size limit for cffile?

2006-07-12 Thread B V
I'll definetly try that. Java objects are interesting. I always wanted to get into Java, but it seemed to suck so much because of the syntax, but If I can just call objects from coldfusion for the power... Two Java Objects that would really make my life easier would be a). An object

Re: size limit for cffile?

2006-07-12 Thread Matt Robertson
Rick what do you do if you can't run the whole operation from within a cfscript block? I need to do a *whole* bunch of stuff (like cfqueries that select, insert and update) inside of that while loop and I can't seem to get a non-cfscript analog of that loop working. I have to be missing

Re: size limit for cffile?

2006-07-12 Thread David
All the statements in that example have CF tag equivalents (CFScript syntax is much more similar to Java syntax, making it easier and clearer to port Java code examples). Assignment and method calls can be made into CFSet statements, and turn the while into cfloop, etc. - David On 7/12/06, Matt

Re: size limit for cffile?

2006-07-12 Thread Matt Robertson
On 7/12/06, David [EMAIL PROTECTED] wrote: All the statements in that example have CF tag equivalents (CFScript syntax Yes I know :-) I'm saying that I cannot get the conditional loop to work, and I cannot recall ever needing an isdefined in a non-cfscripted loop so I have nothing to fall back

RE: File Size limit with CFFile?

2002-07-03 Thread Thanh Nguyen
Matt, That's an interesting way to do it. I'll look into that. Thanks. Thanh -Original Message- From: MW [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 4:08 PM To: CF-Talk Subject: RE: File Size limit with CFFile? We had a terrible time with CFFile and uploads. We got

RE: File Size limit with CFFile?

2002-07-03 Thread Matt Liotta
PROTECTED]] Sent: Wednesday, July 03, 2002 10:56 AM To: CF-Talk Subject: RE: File Size limit with CFFile? Matt, That's an interesting way to do it. I'll look into that. Thanks. Thanh -Original Message- From: MW [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 4:08

File Size limit with CFFile?

2002-07-02 Thread Thanh Nguyen
Is there a limit on the file size using CFFILE? I have a simple program that helps clients upload files to our server, but they can't upload files that's over 30 MB. Is this a browser issue or server issue? Thanks, Thanh Nguyen

Re: File Size limit with CFFile?

2002-07-02 Thread Douglas Brown
Well if this is IIS, you can limit the message size through the SMTP settings Douglas Brown Email: [EMAIL PROTECTED] - Original Message - From: Thanh Nguyen [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, July 02, 2002 3:18 PM Subject: File Size limit with CFFile

RE: File Size limit with CFFile?

2002-07-02 Thread Tony Gruen
Message- From: Thanh Nguyen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 3:18 PM To: CF-Talk Subject: File Size limit with CFFile? Is there a limit on the file size using CFFILE? I have a simple program that helps clients upload files to our server, but they can't upload files

Re: File Size limit with CFFile?

2002-07-02 Thread Kevin Miller
There are three issues with large uploads to the file server. The first is that the page will sometime time out of the upload is too large. The second is that uploads are stored in RAM until they are completed. If you anticipate large uploads, make sure that you have lots of system RAM.

RE: File Size limit with CFFile?

2002-07-02 Thread Matt Liotta
Could be a proxy that limits the size of requests. -Matt -Original Message- From: Thanh Nguyen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 3:18 PM To: CF-Talk Subject: File Size limit with CFFile? Is there a limit on the file size using CFFILE? I have a simple

RE: File Size limit with CFFile?

2002-07-02 Thread MW
Subject: RE: File Size limit with CFFile? Thanh, The restriction is primary available system memory on the server (RAM). CFFILE moves the uploaded file into available system RAM BEFORE writing it to the hard drive. If you're running Windows you will probably see an error 1450 come up if the file