Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cffile action = "write" 1

Status
Not open for further replies.

jimmyshoes

Programmer
Jun 1, 2008
132
GB
Is it possible to use cffile action = "write"
to append a line of text to a file that already exists or can it only be used to create new files
 
<!--The first example creates the file \temp\foo on a windows system and sets attributes to normal. --->
<cffile action = "write" file = "\temp\foo" attributes = normal output = "some text">

<!--- The second example appends to the file. --->
<cffile action = "append" file = "\temp\foo" attributes = normal output = "Is this a test?">


Wiredwizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top