Something like the one described on this MDN page, but without loading the file into memory, i.e. I'd like to be able to send the file in chunks using some streaming interface so that my client process is independent from the file size. The file is selected using an invisible <input type=file>
element.
It's a real world problem: my users will be uploading multiple files at once, which may be big enough (and the client devices limited enough) to worry about memory consumption. At the same time, I'd like to provide a nice client-side uploader with progress indication.
The FileReader interface doesn't seem to be supporting streaming, unless I'm missing something of course.
The solution should work in the latest versions of Safari, Chrome and Firefox, and if possible also in IE9 (although there is probably little hope). Edit: also no jQuery, just bare JavaScript.