You should use something like a buffered writer to create the file.

you can probably createObject("java", ...) to get it working. Look at:

http://java.sun.com/j2se/1.5.0/docs/api/java/io/BufferedWriter.html

for info on how it works. I don't really have time to play with it
today, so, sorry i can't help any more.

-nathan strutz
http://www.dopefly.com/



On 8/25/05, gabriel l smallman <[EMAIL PROTECTED]> wrote:
> Have an app. That needs to turn a query of about 150,000 records into a text
> file, zip it, send back to user.
> 
> Using cf to loop and build the text file just wont work, it takes forever
> and often crashes.
> 
> Someone mentioned a way todo it with php, by invoking a function that
> converts the record set in ram to a text file and then zips and send back.
> But we are stuck doing it on box with mx 6.0.
> 
> Looked at having sql generate the file, but trying to avoid mapping drives
> to move it around.
> 
> Anyone got an clever ideas?
> 
> gabe
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216385
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to