Example of Xhr2 file upload, with progress bar
Choose a file and wait a little until it is uploaded (on a fake server).
Progress: