On 22.07.2012 16:07, Chad wrote:
On Sun, Jul 22, 2012 at 5:29 AM, Thomas Gries mail@tgries.de wrote:
Question:
Why don't we have a simple progress bar (in the core) when uploading files ?
Because there's not a "simple" way of doing it. Every solution I've seen over the years has either been kludgy (using iframes or some such nonsense) or requires something like flash. Supposedly this is easier with the file upload API in HTML5 (says Google), but this isn't supported across all browsers yet.
What would you recommend me to use ?
Your browser status bar. It's told me the progress of my uploads for 10+ years now.
Only Chrome shows precise and smoothly updated percentage of POST upload data sent in status bar. Firefox requires some addon for that: https://addons.mozilla.org/en-us/firefox/addon/uploadprogress/ Perhaps one could detect and use HTML5 API when available (there are growing numbers of such browsers installations every day).
Although it's really strange why browser's download windows are so much more advanced than their upload bars. Perhaps not many people are uploading stuff.
Dmitriy