Actually I would take it to mean that it doesn't load the entire file..

So that is good to know, but a quick test wouldn't hurt.



Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273



-----Original Message-----
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of David Harris
Sent: Thursday, 14 June 2007 11:24 AM
To: cfaussie
Subject: [cfaussie] Re: Large CSV's and server timeouts


hmmm
I guess I was reading that it doesn't load it in to memory, as the
last line in the docs say "ColdFusion closes the file."

...but you are right, it doesn't actually say it doesn't load the
entire file...

may be time for some testing later on to find out!

Andrew Scott wrote:
> Doh,
>
> I thought you were talking about cfloop:-) Anyway, I am assuming that it
> loads it into memory to process. But really thinking about it, that would
be
> a very hungry way of doing that new feature. So I hope I am wrong..
>
>
>
> Andrew Scott
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.
> www.aegeon.com.au
> Phone: +613  8676 4223
> Mobile: 0404 998 273
>
>
>
> -----Original Message-----
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf
> Of David Harris
> Sent: Thursday, 14 June 2007 11:11 AM
> To: cfaussie
> Subject: [cfaussie] Re: Large CSV's and server timeouts
>
>
> After a quick check, I am thinking of CFLOOP.
>
> CFLOOP now has a "file" attritbute.
>
> In CF8 Docs:
> ======================================
> Attribute: "file" (Optional)
>  The absolute path and filename of the text file to read, one
> line at a time. This is helpful when reading large text files,
> because you can reuse the value of the index variable,
> which contains the current line of the file. When the loop
> completes, ColdFusion closes the file.
> ======================================
>
> Usage:
> ===================================
> <cfloop file="c:\temp\simplefile.txt" index="line">
> <cfoutput>#line#</cfoutput><br>
> </cfloop>
> ===================================
>
>
> roll on CF8!
>
>
> Andrew Scott wrote:
> > Hmm... That might be a good question..
> >
> > You could be right on that, never tried that new feature as of yet.
> >
> >
> > Andrew Scott
> > Senior Coldfusion Developer
> > Aegeon Pty. Ltd.
> > www.aegeon.com.au
> > Phone: +613  8676 4223
> > Mobile: 0404 998 273
> >
> >
> >
> > -----Original Message-----
> > From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf
> > Of David Harris
> > Sent: Thursday, 14 June 2007 10:54 AM
> > To: cfaussie
> > Subject: [cfaussie] Re: Large CSV's and server timeouts




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to