Kelly, We ran into this EXACT same problem about a month ago. We were doing a <cffile>, then parsing through the file to modify it and then spitting the modified version to screen. We discovered, as you did, that cf chokes on null characters and were perplexed at what to do. In our situation, we ended up modifying the file on the back-end, through perl, when the file was placed in the directory (business rules state that the file gets ftp'd from the main frame to a directory on the web server). It made perfect sense to do any modifications on the back-end - why slow down cf when you know that every time you get a file, you have to modify it.
After the file was modified on the back-end, we were free to call the file anyway we wanted. I.E. <cffile>, <cfcontent>, <cflocation>, etc. Hope that helps. Mark -----Original Message----- From: Kelly Matthews [mailto:[EMAIL PROTECTED]] Sent: Monday, December 31, 2001 11:28 PM To: CF-Talk Subject: null characters in a file Using CFFILE to read a file. The file has a couple of null characters in the middle of the file. When it reaches the NULL characters it assumes it has reached the end and stops. Is there a way to read the file (I have to make some modifications to it as well) and get around or parse out the null characters? ______________________________________________________________________ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona 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

