Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F262CE5A9 for ; Tue, 12 Feb 2013 20:25:41 +0000 (UTC) Received: (qmail 74671 invoked by uid 500); 12 Feb 2013 20:25:40 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 74594 invoked by uid 500); 12 Feb 2013 20:25:40 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 74586 invoked by uid 99); 12 Feb 2013 20:25:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2013 20:25:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jens@couchbase.com designates 206.225.164.32 as permitted sender) Received: from [206.225.164.32] (HELO EXHUB020-5.exch020.serverdata.net) (206.225.164.32) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2013 20:25:35 +0000 Received: from EXVMBX020-1.exch020.serverdata.net ([169.254.4.201]) by EXHUB020-5.exch020.serverdata.net ([206.225.164.32]) with mapi; Tue, 12 Feb 2013 12:25:13 -0800 From: Jens Alfke To: "user@couchdb.apache.org" Date: Tue, 12 Feb 2013 12:25:14 -0800 Subject: Re: Attachment upload progress Thread-Topic: Attachment upload progress Thread-Index: Ac4JXw9x/qUVHD1JQIKzmhXumai4Mg== Message-ID: References: <7C607DE5D2148C4C838B9EBDA7DB4DE908A96023BF@ABRAHAM.us.maf.org> In-Reply-To: <7C607DE5D2148C4C838B9EBDA7DB4DE908A96023BF@ABRAHAM.us.maf.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org On Feb 12, 2013, at 8:49 AM, Jay Clark wrote: > Is there a way to monitor the progress of an attachment as it is being up= loaded 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 f= or files (especially large ones) as they are being attached to a CouchDB do= cument. You haven=92t said what platform/API this is for. The replies so far all as= sume this is an HTML5 app (aka CouchApp). If that doesn=92t apply to you, y= ou=92ll need to give us more details. =97Jens=