Unfortunately that example won't work for 2 reasons:
1) It's really showing you the "progress" of what's happening, it's just an animated gif to indicate that something is happening.
2) For an upload, the file(s) you are uploading are sent as part of the request for the page. The server can not reply with anything back TO the browser until is has received the entire request FROM the browser. Because the file(s) are attached the request the server can't tell the browser the progress of the upload.