While CFML does not provide complete support for manipulating binary data, reading and writing of binary files are indeed supported. The trick is to convert a read binary file to a text representation (using the ToBase64() function) before using it, and then convert it back to binary form (using the ToBinary() function) before writing it back to the file. (Applies to: ColdFusion 4 (or later))
Leave a Reply