Thanks. 

-----Original Message-----
From: Brad Wood [mailto:[email protected]] 
Sent: Thursday, January 01, 2009 4:57 PM
To: cf-talk
Subject: Re: Appending one file to another

This isn't a direct answer to your question, but if your process involves 
creating or concatenating a very large amount of strings you should look 
into Java's StringBuffer class (or StringBuilder depending on your JVM). 
They can dramatically help a ton of string manipulations.  Also, using 
cfsavecontent will allow for the joining of many strings quickly without the 
performance problems, but that comes with its own problems.

~Brad

----- Original Message ----- 
From: "Stephens, Larry V" <[email protected]>
To: "cf-talk" <[email protected]>
Sent: Thursday, January 01, 2009 3:44 PM
Subject: Appending one file to another


> Can I use cffile to append one file to another?
>
> <cffile action="append" output="File2.txt" file="File1.txt">
>
> Doesn't seem to work.  (This is assuming File2.txt is too large to store 
> in a variable.)
>
> My problem is running data through a loop to convert HTML to rtf. The 
> process times out after about 130 records, so I have to split the process 
> into multiple attempts. I'd like to then put the finished product all 
> together into one file.
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317400
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to