Hi, > Does anyone know an easy way of creating a binary > file in CF? > > I want tio create a file that will be used as > input for another program which has its own > format that I can't change. > > The begining of the file contains a number of > binary elements. It would be good if there was a > custom tag that allowed me to add binary stuff to > the stream (in hex perhaps) and then add > stringsand write the combined stream out using > <cfwrite>
You might be able to use toBase64() and toBinary() to create a binary output that yu can write with <cffile action="write"> Best Chris ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236384 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

