cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: CURLOPT_RESUME_FROM behaviour

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 14 Jan 2007 16:09:52 +0100 (CET)

On Sun, 14 Jan 2007, Gruenbaum, Uri (Uri) wrote:

> i want to use the CURLOPT_RESUME_FROM option in order to allow a user
> continue a download operation,in case of a bad link. i understand this might
> be prolematic,since not all ftp servers will allow to perform a download
> with an offset.

Actually, all RFC959 compliant FTP servers will support "REST". Experience
tells that some do have problems if the resume point is beyond 4GB though.

> my question is, when i run the eaey perform, do i get an indication it is
> impossible to use this feature??

Yes you do. If REST fails, curl will bail out with an error.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-01-14