cURL
Your ad here would be seen by 100,000 unique vistors every month Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

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

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

On Fri, 15 May 2009, centrio_at_gmail.com wrote:

> 1. CURLOPT_RESUME_FROM
> 2. CURLOPT_RESUME_FROM_LARGE
>
> 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.

-- 
  / daniel.haxx.se
Received on 2009-05-16

These mail archives are generated by hypermail.

donate! Page updated April 20, 2009.
web site info

File upload with ASP.NET