Reputation: 50386
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.
Upvotes: 0
Views: 385
Reputation: 1803
Do you mean you want to use base64 encoding? Try this: http://phpjs.org/functions/base64_encode:358
Upvotes: 1