Question:
Why don't we have a simple progress bar (in the core) when uploading files ? What would you recommend me to use ?
Many frameworks are available. See for example ownCloud http://owncloud.org/ http://gitorious.org/owncloud
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.
Many frameworks are available. See for example ownCloud http://owncloud.org/ http://gitorious.org/owncloud
Useless link. Could you link to the source that uses it so we don't have to search through 15 git repos to find it?
-Chad
search for "jquery upload progress bar"
there are many solutions which are based on "standards" I quickly found this
http://blueimp.github.com/jQuery-File-Upload/
"No browser plugins (e.g. Adobe Flash) required: The implementation is based on open standards like HTML5 and JavaScript and requires no additional browser plugins. Graceful fallback for legacy browsers: Uploads files via XMLHttpRequests if supported and uses iframes as fallback for legacy browsers. HTML file upload form fallback: Shows a standard HTML file upload form if JavaScript is disabled."
Worth to be tested become a project for this (rest) summer ?
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
On 22/07/12 15:16, Dmitriy Sintsov wrote:
On 22.07.2012 16:07, Chad wrote:
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
I see several bugs for Mozilla to implement that... since 2004: https://bugzilla.mozilla.org/show_bug.cgi?id=243468 https://bugzilla.mozilla.org/show_bug.cgi?id=249338 https://bugzilla.mozilla.org/show_bug.cgi?id=253105 https://bugzilla.mozilla.org/show_bug.cgi?id=598566
See for example ownCloud http://owncloud.org/ http://gitorious.org/owncloud
Useless link. Could you link to the source that uses it so we don't have to search through 15 git repos to find it?
ownCloud appears indeed to use the one I mailed in my other mail https://gitorious.org/owncloud/owncloud/blobs/master/apps/files/js/jquery.fi...
wikitech-l@lists.wikimedia.org