Thanks.
-----Original Message-----
From: Ryan Stille [mailto:[email protected]]
Sent: Thursday, January 01, 2009 5:09 PM
To: cf-talk
Subject: Re: Appending one file to another
Stephens, Larry V wrote:
> 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.)
>
Since you didn't mention a version, I assume you are on the latest?
(cf8). If so this might work for you:
<cffile action="append" output="#FileRead("File2.txt")#" file="File1.txt">
-Ryan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:317399
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4