cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: Parameters in CURLOPT_WRITEFUNCTION:

From: Honey Dont <jawihar_at_yahoo.com>
Date: Mon, 2 Mar 2009 08:00:11 -0800 (PST)

--- On Mon, 3/2/09, Daniel Stenberg <daniel_at_haxx.se> wrote:

>
> You're obviously using the library so I would strongly
> recommend that you use the curl-library mailing list
> instead!
>

Whoops. Sorry. Wasn't aware of the difference. I have put in for a subscription to the curl-library ml.

> It doesn't take anything particular into
> "account", it just tells you the size of the data
> and it uses the same argument set that fwrite() offers which
> is why it uses two arguments to specify the size.
>

Okay. Thanks for this. It makes the function a lot more clear now. But, I can't think of a situation where the size would be more than 1 for what curl is doing.

      
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-03-02

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET