Leigh, Thanks for that information. Exactly what I needed!!!
I had got it working in the meantime by doing this: 1. creating a small file from Winhex that only contained 1 NULL character. 2. Using CFFILE to read this into a variable 3. Replacing all occurrences from the Hex data with that variable containing the NULL character. BUT, now that I have this it works great, thanks! -----Original Message----- From: Leigh [mailto:cfsearch...@yahoo.com] Sent: Tuesday, August 18, 2009 4:07 PM To: cf-talk Subject: Re: Inserting NULL between characers using CFFILE > Does anyone know how to get CFFILE to insert NULL chars > into a file? I have not tried it with cffile specifically, but here is one way to create a null character http://www.coldfusiondeveloper.com.au/go/blog/2007/05/06/null-character/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325547 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4