I want to send a file to the server in binary, not using the normal form post method because that method encoding is not binary. The reason is that I have a IPad application which sends a binary file to the server and I need to do the same in JQuery in a web browser.
Share
Do you mean you want to use base64 encoding? Try this: http://phpjs.org/functions/base64_encode:358