RE: Inserting NULL between characers using CFFILE

2009-08-20 Thread Leigh

 I had got it working in the meantime by doing this:

Jason, I give you an A for a creative work-around ;)

-Leigh




  


~|
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:325568
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Inserting NULL between characers using CFFILE

2009-08-19 Thread Jason Neidert

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


Re: Inserting NULL between characers using CFFILE

2009-08-18 Thread Leigh

 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:325534
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Inserting NULL between characers using CFFILE

2009-08-18 Thread Rick Root

On Tue, Aug 18, 2009 at 5:07 PM, Leighcfsearch...@yahoo.com wrote:

 Does anyone know how to get CFFILE to insert NULL chars
 into a file?

You could also try #javacast(null,)# in CFMX7 or later.

-- 
Rick Root
New Brian Vander Ark Album, songs in the music player and cool behind
the scenes video at www.myspace.com/brianvanderark

~|
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:325535
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4