Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 26568 invoked from network); 26 Jun 2005 20:41:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Jun 2005 20:41:00 -0000 Received: (qmail 7855 invoked by uid 500); 26 Jun 2005 20:41:00 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 7835 invoked by uid 500); 26 Jun 2005 20:40:59 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Received: (qmail 7822 invoked by uid 99); 26 Jun 2005 20:40:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jun 2005 13:40:59 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [64.136.57.113] (HELO phatness.com) (64.136.57.113) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jun 2005 13:40:59 -0700 Received: (from apache@localhost) by phatness.com (8.11.6/8.11.6) id j5QKeuN13985 for httpclient-user@jakarta.apache.org; Sun, 26 Jun 2005 13:40:56 -0700 Received: from pcp09018978pcs.watrfd01.mi.comcast.net (pcp09018978pcs.watrfd01.mi.comcast.net [69.244.158.73]) by phatness.com (IMP) with HTTP for ; Sun, 26 Jun 2005 13:40:56 -0700 Message-ID: <1119818456.42bf12d8503c5@phatness.com> Date: Sun, 26 Jun 2005 13:40:56 -0700 From: "K. Michael Wille" To: httpclient-user@jakarta.apache.org Subject: Upload Progress on MulipartRequestEntity POST MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 69.244.158.73 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi All, We just started using HttpClient for a project at work, and I must say it is an absolute joy to work with! I have a question regarding HTTP POSTS and monitoring upload progress. I'm using HttpClient 3.0 RC2 and I'm using the MultipartRequestEntity and PostMethod.setRequestEntity() to upload files one at a time with a list of parameters. Everything is going fine, except now I would like to add upload progress. I have seen the message in the archives about using a FilterInputStream that is passed to PostMethod via setRequestBody(): http://mail-archives.apache.org/mod_mbox/jakarta-httpclient-dev/200311.mbox/%3c825BF35A92B3F0479CC164ECBBE9376E0DE64D@kccxoex06.corp.kpmgconsulting.com%3e However, this seems to conflict with using MultiPartRequestEntity. Is there a way to use both or do I have to multi-part encode the entire request body by hand if I want to use the FilterInputStream? Thanks for any help you can provide! Regards, Mike Wille ----------------------- Command like a king, create like a god, work like a slave. ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org