I tought of that but I was sonwdering if there was something I missed in the
append attributes to facilitate the manipulation...
Thank you
Pat
_____
From: Pascal Peters [mailto:[EMAIL PROTECTED]
Sent: June 1, 2004 11:21
To: CF-Talk
Subject: RE: CFFILE APPEND at the beginning
<cfset crlf = chr(13) & chr(10)>
<cffile action="" file="#variables.file#" variable="out">
<cfset out = "my line here" & crlf & variables.out>
<cffile action="" file="#variables.file#" output="#variables.out#"
addnewline="No">
Of course, this requires reading the whole file. If you are on cfmx,
maybe this can be done in java?
Pascal
> -----Original Message-----
> From: CFDEV [mailto:[EMAIL PROTECTED]
> Sent: dinsdag 1 juni 2004 17:11
> To: CF-Talk
> Subject: CFFILE APPEND at the beginning
>
> Hi all,
>
> The cffile append function append a document at the end..how
> could I insert a line at the beginning instead?
>
> Thanks
>
> Pat
>
>
>
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

