How do I read binary data as text?
Posted on 2004-09-20
I was wondering how I could go about reading a binary file and coverting it to text so I can send it through TCP/IP. I would like to be able to send executables, word documents etc. to the server and vice versa. Currently, I can only send text. Is this the best way to do this? Does anyone have a method to send binary data through TCP/IP or read a binary file into a string?
Thanks in advance for your help.