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.
Asked
Active
Viewed 379 times
0
-
Possible duplicate http://stackoverflow.com/questions/166221/how-can-i-upload-files-asynchronously-with-jquery – Amar Palsapure Feb 07 '12 at 06:34
-
But that encoding is enctype: 'multipart/form-data' which is not binary, its something else – Phil Feb 07 '12 at 06:38
1 Answers
1
Do you mean you want to use base64 encoding? Try this: http://phpjs.org/functions/base64_encode:358

Alexander Holsgrove
- 1,795
- 3
- 25
- 54