Forum Discussion
Jorge_Cabanilla
Nimbostratus
Jul 08, 2010Send a binary file as content in http:response, I need help
Hi,
Some one knows how to send a binary file as content in an HTTP:respond?
Is it possible to assign a file to a variable?
How to read a file?
I need the next:
...
Jorge_Cabanilla
Nimbostratus
Jul 09, 2010I tested it using the class external file, but my file is a wbxml type, so in order to retrieve the content I'm using the next command
set ::xbxml_content [lindex $::answer_403 0]
but the length is zero , This is because it is a binary file (the options that I have on the class menu for file content type are string,integer,ip) so I choosed string, is it possible to hardcoded the binary content to a plain text? basically the file contains several binary characters like: NUL, SOH,ETX
Thanks
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects