You can read the whole file into a variable and then treat it as a
list using #Chr(13)##chr(10)# as the delimiter.
<CFSET line=chr(13)&chr(10)>
<CFLOOP list="#textin#" delimiter="#line#" ....
I have a dos log file I want to use CFFILE to read in one line at a time
and append that line to a field in an access table.
I sure could use an example using CFFILE read and CFFILE write
to accomplish this.
I am having trouble parsing the lines as there are no delimiters other
then the linefeed at least I think it is a linefeed It's the wield backwards P
--
Michael Dinowitz
http://www.houseoffusion.com
For all your ColdFusion needs
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- RE: Cfmail Dave Phillips
- Re: Cfmail Stevo Vee
- Re: Cfmail Stevo Vee
- cfmail Simon Whittaker
- RE: cfmail Burns, John D
- Re: cfmail Simon Whittaker
- CFFILE READ one line at a time Terry Troxel
- RE: CFFILE READ one line at a time Paul Vernon
- Re: CFFILE READ one line at a time Dick Applebaum
- Re: CFFILE READ one line at a time Novak Banda
- RE: CFMail Michael Dinowitz
- RE: CFMail Ryan Duckworth
- RE: CFMail Trevor Holm-Laursen
- Re: CFMail Matt Robertson
- RE: CFMail Ryan Duckworth
- Re: CFMail Matt Robertson
- cfmail Tangorre, Michael
- Re: cfmail Jochem van Dieten
- RE: cfmail Andrew Dixon
- RE: cfmail Ray Champagne
- RE: cfmail Tangorre, Michael