On Sat, Jun 1, 2013 at 1:40 PM, d_jan <d_jan(a)ymail.com> wrote:
formdata.append("file", fileToUpload);
//file read via File Api using
readAsBinaryString(file)
Don't do that. Just pass the File object directly so JavaScript
encodes it as an actual file upload rather than as a very large text
field.