Return-Path: Delivered-To: apmail-jakarta-commons-httpclient-dev-archive@www.apache.org Received: (qmail 34306 invoked from network); 11 Nov 2003 03:57:06 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 11 Nov 2003 03:57:06 -0000 Received: (qmail 62167 invoked by uid 500); 11 Nov 2003 03:56:47 -0000 Delivered-To: apmail-jakarta-commons-httpclient-dev-archive@jakarta.apache.org Received: (qmail 62142 invoked by uid 500); 11 Nov 2003 03:56:47 -0000 Mailing-List: contact commons-httpclient-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Commons HttpClient Project" Reply-To: "Commons HttpClient Project" Delivered-To: mailing list commons-httpclient-dev@jakarta.apache.org Received: (qmail 62129 invoked from network); 11 Nov 2003 03:56:46 -0000 Received: from unknown (HELO mxout4.cac.washington.edu) (140.142.33.19) by daedalus.apache.org with SMTP; 11 Nov 2003 03:56:46 -0000 Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout4.cac.washington.edu (8.12.10+UW03.09/8.12.10+UW03.09) with ESMTP id hAB3utmw027850 for ; Mon, 10 Nov 2003 19:56:56 -0800 Received: from [10.0.1.2] (pool-151-199-24-114.bos.east.verizon.net [151.199.24.114]) (authenticated bits=0) by smtp.washington.edu (8.12.10+UW03.09/8.12.10+UW03.09) with ESMTP id hAB3uswx001441 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 10 Nov 2003 19:56:55 -0800 Mime-Version: 1.0 (Apple Message framework v606) In-Reply-To: <501EA67E9359C645A10C42EB5B52480D2DC8FC@SNEXCH01.mcdata.com> References: <501EA67E9359C645A10C42EB5B52480D2DC8FC@SNEXCH01.mcdata.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <15B81D90-13FB-11D8-B28D-00306557E112@u.washington.edu> Content-Transfer-Encoding: 7bit From: Michael Becke Subject: Re: file upload (PUT method) progress report Date: Mon, 10 Nov 2003 22:56:52 -0500 To: "Commons HttpClient Project" X-Mailer: Apple Mail (2.606) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Yong, The only way to get progress at the moment is to track the reads on the InputStream given to PostMethod.setRequestBody(InputStream). Mike On Nov 10, 2003, at 7:02 PM, Yong Chen wrote: > > > Hi, > > I'm using putmethod to put (large size) file on server. After calling > executeMethod(), I want to know the progress or the percentage of file > uploaded so I can report it to UI. > > 1. Is there any to do it now? > 2. If not, are there any plans for adding it to the future release? > > Thanks, > Yong Chen > > SPECIAL NOTICE > > All information transmitted hereby is intended only for the use of the > addressee(s) named above and may contain confidential and privileged > information. Any unauthorized review, use, disclosure or distribution > of confidential and privileged information is prohibited. If the > reader of > this message is not the intended recipient(s) or the employee or agent > responsible for delivering the message to the intended recipient, you > are herby notified that you must not read this transmission and that > disclosure, copying, printing, distribution or use of any of the > information contained in or attached to this transmission is STRICTLY > PROHIBITED. > > Anyone who receives confidential and privileged information in error > should > notify us immediately by telephone and mail the original message to us > at the > above address and destroy all copies. To the extent any portion of > this > communication contains public information, no such restrictions > apply to that information. (gate01) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > commons-httpclient-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: > commons-httpclient-dev-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org