cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: fopen() download file

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 14 Aug 2009 17:12:44 +0200 (CEST)

On Fri, 14 Aug 2009, Denis Bondarev wrote:

> But what doing with my second problem(((. Daniel, please what function I am
> must use?

(If you had quoted properly with could've seen that second problem now. But
instead you top-posted and we lost it.)

You can use whatever function you want, just don't assume that you get
zero-terminated data in the write callback.

See the getinmemory.c example for one way to do it.

-- 
  / daniel.haxx.se
Received on 2009-08-14