From users-return-13278-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Wed Nov 11 21:19:57 2009 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 50490 invoked from network); 11 Nov 2009 21:19:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Nov 2009 21:19:56 -0000 Received: (qmail 83895 invoked by uid 500); 11 Nov 2009 21:19:56 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 83823 invoked by uid 500); 11 Nov 2009 21:19:56 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 83812 invoked by uid 99); 11 Nov 2009 21:19:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Nov 2009 21:19:56 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [72.55.186.13] (HELO s010.panelboxmanager.com) (72.55.186.13) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Nov 2009 21:19:53 +0000 Received: from dsl-145-201.aei.ca ([66.36.145.201] helo=[192.168.0.195]) by s010.panelboxmanager.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1N8KbE-0001MI-Vw for users@jackrabbit.apache.org; Wed, 11 Nov 2009 16:19:33 -0500 From: =?iso-8859-1?Q?Fran=E7ois_Cassistat?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: File download/upload progression Date: Wed, 11 Nov 2009 16:19:16 -0500 Message-Id: <8D74441A-6DD7-43D5-884B-98B347552E2F@maya-systems.com> To: users@jackrabbit.apache.org Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s010.panelboxmanager.com X-AntiAbuse: Original Domain - jackrabbit.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - maya-systems.com X-Source: X-Source-Args: X-Source-Dir: Hi list ! My client would like a progress bar for monitoring the files being = downloaded or uploaded on the server (with RMI). For downloading, I think this is not a problem since javax.jcr.Binary = from JCR2.0 provides getSize() and an InputStream.=20 For uploading, I could make my own implementation of javax.jcr.Binary = that mesmerize how many bytes were asked. It have chances to work. What = do you think? Does JackRabbit would care if I don't pass by = ValueFactory.createBinary()? Frank