Simple:


If you need to view the file and edit:
Use CFFILE ACTION="" to read the file.
Output the contents of the file to a Textarea field
Then on the SAVE Function:
CFFILE ACTION="">
If you just simple need to add a line to a text file
without viewing it first:
CFFILE ACTION="" ADDNEWLINE=TRUE


Something like that.

-----Original Message-----
From: Asim Manzur [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 12:19 PM
To: CF-Talk
Subject: edit the text file.

I have a quick quesiton I have a text file which can have upto 10 lines
something like below.
the "|" is the delimeter.

Title:|Story|Link|Target

What I need to do is Have to edit those lines as well as insert the new
lines at the bottom.

How this can be done through CFFILE.
(I think thats the only way)

Thanks
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to