cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: CURL lib issue

From: Nielsen Linus <Linus.Nielsen_at_elema.siemens.se>
Date: Wed, 4 Jul 2001 15:54:04 +0200

By the way, what version of libcurl are you using?

/Linus

>
> Yes, I have tried that, but unfortunately it did not help.
> Tomek
>
> Nielsen Linus wrote:
>
> > > I do not know how to tell the library for the second file
> upload (HTTP
> > > PUT) that I do not longer want to make HTTP post but just
> HTTP PUT, so
> > > the lib thinks that I want to make some kind of POST and goes
> > > down. The
> > > way out I have found is to deallocate curl and allocate again
> > > so for the
> > > above example it would look like:
> >
> > Maybe this is a stupid question, but did you call curl_easy_setopt()
> > to unset the POST option? Like:
> >
> > curl_easy_setopt(curl, CURLOPT_POST, 0);
> >
> > /Linus
>
Received on 2001-07-04