On Thu, 2010-11-25 at 06:37 +0200, John Smith wrote: > On 24 of November 2010 23:09:30 Oleg Kalnichevski wrote: > > On Wed, 2010-11-24 at 14:59 +0200, John Smith wrote: > > > > Do you want just the final total or you intermediate data for a process > > indicator of some kind? > > > > Oleg > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > I would like a process indicator, not final total. >
So, what is the problem? Just count the number of bytes read so far while reading from InputStream returned by HttpEntity#getContent. HttpEntity#getContentLength will give you the expected total if known. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
