cURL / Mailing Lists / curl-library / Single Mail


Re: Seeking in a stream, which setopt to use?

From: Daniel Stenberg <>
Date: Sat, 16 May 2009 22:36:13 +0200 (CEST)

On Fri, 15 May 2009, wrote:

> The Documentation talks about the differences in terms of the input
> parameters, one takes offset in number of bytes and other takes curl_off_t
> as parameter.

Right. The input argument size is the only difference.

> Which option should I use. Is there any difference wrt to the limit on the
> offset to which we can seek stream?

On a 32bit system, CURLOPT_RESUME_FROM would only be able to resume up to the
4GB point.

Received on 2009-05-16