Wednesday, June 08, 2005

Coldfusion Write to File

Using Coldfusion, how can I write to a file that is on the server from my browser.

This will get you started.

<cfset currpath=getdirectoryfrompath(getcurrenttemplatepath())>
<cffile action="APPEND" file="#CurrPath#Foo.txt" output="My Foo can beat up your foo." addnewline="Yes">

0 Comments:

Post a Comment

<< Home