cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Uploading problems[solved]

From: Pavel Rozenblioum <prozen_at_gmail.com>
Date: Thu, 10 Aug 2006 21:41:05 +0200

On 8/10/06, Daniel Stenberg <daniel_at_haxx.se> wrote:
> 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?
>
Actually, I figured out what the problem was. It was the expect
header. Once I removed it everyone started working.
Thanks you for trying to help. And thanks for a great piece of software.
With Best Regards,
Pavel Rozenblioum
Received on 2006-08-10