cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: CURLOPT_UPLOAD: CURLOPT_INFILESIZE is not allocating requested filesize

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 19 Apr 2004 15:57:27 +0200 (CEST)

On Mon, 19 Apr 2004, Enrique Herrera wrote:

> That's what I thought what I was seeing on my output. But when I turned on
> 'verbose' on curl, I see that the server is not responding to my upload.

It is certainly looking like that. You get a premature close of the
connection.

> I am trying to have a 'asp' page accept my upload. Then, how do I have the
> web server execute the 'asp' page to accept my upload?

I think you should consider asking in a more ASP-oriented forum. I have no
ideas what so ever how to do that, and I don't plan on learning it either! ;-)

> Something went worng with curl. Error=23
>
> Error 23 is CURLE_WRITE_ERROR,

Oh. A *write* error does indicate something else. The term 'write' in libcurl
is for writing/passing data to a local app/file, the term used for sending
data to a remote host is 'send'. Is the write callback perhaps called and you
return a bad return code back (which isn't the same number of that was passed
in to the callback)?

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-04-19