Have you tried addnewline="no" in the cffile tag? Actually, ARE you using CFFILE, because your email says CFDIRECTORY and CFHTTP only?
bd At 09:00 PM 7/21/02 -0400, you wrote: >Hola lista!! > > > >I'm experimenting with trying to make an entire site running only off of >cfdirectory, and building static templates with CFHTTP where possible (yeah >I have a lot of spare time). Anyhow, I have a poll that stores the results >as a comma delimited list in a .txt file > > > >total > >first choice total > >second choice total > >third choice total > >100,50,48,2 > > > >I set them to vars... > ><cfset total = listgetat(list, 1, ",")> > ><cfset first = listgetat(list, 1, ",")> > >and so on..... > > > >then I add 1 to the total and depending on which choice was made I add 1 to >the correct position and reinsert it to the .txt file and use the vars for >display. Everything sets and displays fine. No weird characters or extra >spaces. > > > >The process started getting kind of slow so I opened the .txt in notepad to >see that with each submission it resets the list to the new values but then >it adds a bunch of these little square characters > >(I tried to paste about 5 of the squares here and it made about 5000000 >carriage returns) heh > > > >I tried it as a .cfm (don't know why) but it does the same thing. Then I >tried deleting the file and recreating it with each submission and they are >STILL there, like little cucarachas eating up my precious space!! > > > >Anybody know what they are or why they are being added to the text file and >how I can stop it??? > > > > ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

