curl-library
Re: Uploading problems
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 10 Aug 2006 20:01:09 +0200 (CEST)
Date: Thu, 10 Aug 2006 20:01:09 +0200 (CEST)
On Thu, 10 Aug 2006, Pavel Rozenblioum wrote:
> Thank you for your advice, but unfortunately they don't solve my
> problem. The program gets the size correctly, but it still fails to
> read from the file.
> As I see it I am setting both stream and read function correctly
> without the readfunction getting called so I have no clue what the
> problem can be.
post-callback.c and httpput.c are two examples in the docs/examples/ dir that
uses the read callback. Have you tried these?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-08-10