Date: Mon, 19 Nov 2001 23:18:16 +0100 (MET)
On Sat, 17 Nov 2001, Jaepil wrote:
> When i try to send files which is created by my application. I get
> CURLE_WRITE_ERROR code on the half way of the first file. The error
> occurs on the same portion of the first file, every time i try.
> I tried with other machine, and it produces no error code. This makes my
> life much harder.
I can understand why this is annoying, but I'm afriad I can't understand why
the error occurrs...
> If I understood correctly, the error occurs when Header/Body file cannot
> written or when server cannot write file. Can anyone tell me what is the
> most likely situation/cause???
Yes, this is most likely a failure to send data to the server. As soon as
curl finds a problem in sending data, it returns with this error code.
Since you say this doesn't happen when you "tried with other machine" (did
you mean another machine to upload *to* or to upload *from*?), I think it
seems to indicate a problem with one particular machine.
To fully understand what happens, I suggest that you single-step through the
libcurl code to find the exact function call that fails.
If you find any more details that may bring more lights on this problem, I'm
of course interested!
-- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/Received on 2001-11-19