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 <[email protected]> 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
>

Reply via email to