cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: CURLE_PARTIAL_FILE

From: Vishal_garg <Vishal_garg_at_infy.com>
Date: Tue, 30 Apr 2002 14:09:06 +0530

I have also encountered this error. The error I got was due to the fact
that the file I was trying to ftp was being written at that time. However
we can ignore this error and accept the partial file retrieved by libcurl.

-----Original Message-----
From: Daniel Stenberg [mailto:daniel_at_haxx.se]
Sent: Tuesday, April 30, 2002 12:56 PM
To: Cadime
Cc: libcurl Mailing list
Subject: Re: CURLE_PARTIAL_FILE

On Mon, 29 Apr 2002, Cadime wrote:

> I am getting the CURLE_PARTIAL_FILE error. Anyone has an idea of in what
> typical circumstances it happens???

As of recently, there's a libcurl-errors man page that atttempts to describe
tings like that. What the error means, when it happens etc.

I just realized it wasn't available on the web site, so I put it up this
morning and you should be able to browse it now here:

  http://curl.haxx.se/libcurl/c/libcurl-errors.html

> I think it means that the size of the retrieved fle is not the expected
> one. Right? But how?

It means that the data you received had a size that differs from what the
server told us it would be, either bigger or smaller.

How? Well, that's left for you to figure out... :-)

> I am using curl 7.9.2

I'd recommend using no less than 7.9.6.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-04-30