cURL / Mailing Lists / curl-library / Single Mail

curl-library

CURLE_PARTIAL_FILE on ftp-upload?

From: Georg Lippitsch <georg.lippitsch_at_gmx.at>
Date: Tue, 12 Feb 2008 13:41:26 +0100

When I upload to a ftp-server and transfer is interrupted, sometimes I get
CURLE_PARTIAL_FILE error. How can this happen on uploads?

As documentation says: "This happens when the server first reports an expected
transfer size, and then delivers data that doesn't match the previously given
size."

But on uploads, the server can't report an expected transfer size.
CURLOPT_INFILESIZE is *not* set, and file size isn't even known when transfer
starts.

Thank you!

Georg
Received on 2008-02-12