User agents should provide a streamlined programmatic ability to send data from a file to a remote server that works more efficiently than form-based uploads today
Example: A Video/Photo Upload App. User is able to select large files for upload, which can then be "chunk-transfered" to the server.
This means that although this XMLHttpRequest2 method is nice, in practice it will still suffer from all the issues that http uploads suffer from at the moment. Chunked uploading, which the W3C spec explicitly supports, would be a much better solution for large files, no?
http://www.filosophy.org/2010/06/a-state-of-limbo-the-html5-...
--------
An aside: I found the "XMLHttpRequest Level 2" name to be pretty funny. I'm not sure why it tickled my funny bone in such a way.
A wild XMLHttpRequest (lvl 1) appears!
Engineer uses SendFile... it doesn't seem to be working.
Engineer is defeated!
A wild XMLHttpRequest (lvl 2) appears.
Engineer uses SendFile... it's super effective!