incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Jörg Schmidt <schm...@netzmerk.com>
Subject Re: Attachment upload progress
Date Tue, 12 Feb 2013 17:23:48 GMT
XHR2 has updateProgress events:

https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest/Using_XMLHttpRequest#Monitoring_progress


2013/2/12 Mark Hahn <mark@hahnca.com>

> Use https://github.com/blueimp/jQuery-File-Upload.  It is awesome.  Drag
> and drop. Progress indicators.  Multiple files.
>
>
> On Tue, Feb 12, 2013 at 9:05 AM, Travis Paul <Tr@vispaul.me> wrote:
>
> > I'm was adding attachment support to one of my CouchApps today and
> wondered
> > the same thing.
> >
> > When I upload an attachment in futon it shows a loading bar but doesn't
> > report the progress. However, the browser (Chrome) does show the upload
> > percentage in the status bar at the bottom of the page. I'm curious if we
> > can tap into that event (XHR?) since the browser obviously knows
> > that something being uploaded.
> >
> >
> > On Tue, Feb 12, 2013 at 11:49 AM, Jay Clark <jclark@maf.org> wrote:
> >
> > > Hi,
> > > Is there a way to monitor the progress of an attachment as it is being
> > > uploaded into a CouchDB document? A standard callback or something
> > > (_changes feed? _active_tasks?) to know how much of the file has been
> > > uploaded?
> > >
> > > I'm trying to show a progress bar to my user that shows upload progress
> > > for files (especially large ones) as they are being attached to a
> CouchDB
> > > document.
> > >
> > > Thank you,
> > > Jay Clark
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message