DonPedroElBuenoI wrote:
Interesting observation: CF apparently doesn't consider the content of my form field as being binary. When I try the function BinaryEncode() on the form field, I get the error "Parameter 1 of the BinaryEncode function must be a valid binary object."
I think the one you want is binaryDecode. It converts binary data that has been encoded into a string back into binary data.
Is there a way I can tell CF that it is a binary object?
Perhaps not, but there is certainly a way ColdFusion can tell you what it makes of the object:
isBinary(varName)
I can see you already knew this.
Is there a way I can access the complete post as it was sent by the client (i.e. starting from "POST /DataInterface HTTP/1.0" to the very end) without having CF parsing out the fields?
Parsing out the relevant field by myself would be easy enough.
I would say, quite simply
<cfset fieldContent = form.userData>