On Wed, 2010-11-24 at 14:59 +0200, John Smith wrote:
> Hello everyone!
> I describe my situation.
> 
> I download some content from some sites by HttpClient.
> I send GET request and get HttpEntity to byte array:
> 
> bEntity = EntityUtils.toByteArray(entity);
> then I save bEntity in file.
> 
> I can see content size by entity.getContentLength(),
> but I need to know how many bytes I've already got when I'm downloading 
> content.
> 
> Has HttpClient or HttpEntity got some implements for it?
> 
> Thanks for your help!
> 

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]

Reply via email to