You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Guilherme Moreira <gu...@gmail.com> on 2007/07/16 02:54:33 UTC

Stoping and Continuing a download

Hi everybody,

Using HttpClient Can I stop a download and continue it in the same point
that i stoped?

If it's possible,how can I manage it?

Thanks
Guilherme
-- 
View this message in context: http://www.nabble.com/Stoping-and-Continuing-a-download-tf4083994.html#a11607733
Sent from the HttpClient-User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Re: Stoping and Continuing a download

Posted by Guilherme Moreira <gu...@gmail.com>.
Thank you very much, it's exactly what i needed

Roland Weber-3 wrote:
> 
> Hi Guilherme,
> 
>> Using HttpClient Can I stop a download and continue it in the same point
>> that i stoped?
> 
> Stopping is no problem. Whether you can continue is entirely
> up to the server.
> 
>> If it's possible,how can I manage it?
> 
> Read about HTTP/1.1 ranges in RFC 2616. This is an application level
> problem. There is nothing special in the HttpClient API for ranges.
> 
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.5
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.16
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.27
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35
> 
> 
> good luck,
>   Roland
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Stoping-and-Continuing-a-download-tf4083994.html#a11649767
Sent from the HttpClient-User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Re: Stoping and Continuing a download

Posted by Roland Weber <os...@dubioso.net>.
Hi Guilherme,

> Using HttpClient Can I stop a download and continue it in the same point
> that i stoped?

Stopping is no problem. Whether you can continue is entirely
up to the server.

> If it's possible,how can I manage it?

Read about HTTP/1.1 ranges in RFC 2616. This is an application level
problem. There is nothing special in the HttpClient API for ranges.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.5
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.16
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.27
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35


good luck,
  Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org