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 1CE0DE5DA for ; Tue, 12 Feb 2013 17:20:26 +0000 (UTC) Received: (qmail 97931 invoked by uid 500); 12 Feb 2013 17:20:24 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 97879 invoked by uid 500); 12 Feb 2013 17:20:24 -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 97871 invoked by uid 99); 12 Feb 2013 17:20:24 -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 17:20:24 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.125.82.45] (HELO mail-wg0-f45.google.com) (74.125.82.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2013 17:20:15 +0000 Received: by mail-wg0-f45.google.com with SMTP id dq12so258479wgb.12 for ; Tue, 12 Feb 2013 09:19:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-originating-ip:in-reply-to:references :from:date:message-id:subject:to:content-type:x-gm-message-state; bh=SfXoPlfho6XhpQ83iRRCYwdICmxbMON0J+6sT3RXoJw=; b=CcnKUru1+COOR6RekytrR4OSRKf5Z7kVIhNGwjrlZJFF/xXB0VEQtcj+49pK7F+087 N9jG+R74jaxIItb/Xuiz9PWLJ8dIHb+//uhrGFpIfPtc81S1DZLwDUpZoT1X/9/Azpv3 qK0pReVosbLhSpcG3M4utEAny/Z/Jy/PZ2jyt3pUHNZu35xa9ezX67nfPMC81XIZliif w+RgFLICTsRQ7NuASIDR+vcrRhPVmR8WrGY0nWj80HmqTs8/eyTsZxWhHyQ9qv/2CNNH ZQvfvwobhjlFXCz5kHSCo6JSZyhLiq09O6iK2EUoDwo2nuMELRikzghuAETlnFi7Vpw1 2xiQ== X-Received: by 10.180.14.233 with SMTP id s9mr4251681wic.25.1360689583887; Tue, 12 Feb 2013 09:19:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.29.231 with HTTP; Tue, 12 Feb 2013 09:19:23 -0800 (PST) X-Originating-IP: [68.5.117.177] In-Reply-To: References: <7C607DE5D2148C4C838B9EBDA7DB4DE908A96023BF@ABRAHAM.us.maf.org> From: Mark Hahn Date: Tue, 12 Feb 2013 09:19:23 -0800 Message-ID: Subject: Re: Attachment upload progress To: user Content-Type: multipart/alternative; boundary=f46d040fa03c4c162404d58a3bd6 X-Gm-Message-State: ALoCoQmkY7Ytmu1xO5Kw50+suSDagoQ0+1UAikPOPUzF1v8ZlXrtQFSjn/P9pZolBeur8LCYSJQ0 X-Virus-Checked: Checked by ClamAV on apache.org --f46d040fa03c4c162404d58a3bd6 Content-Type: text/plain; charset=ISO-8859-1 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 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 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 > > > --f46d040fa03c4c162404d58a3bd6--