The man page libcurl-errors says this:CURLE_PARTIAL_FILE (18) A file transfer was shorter or larger than expected. This happens when the server first reports an expected transfer size, and then delivers data that doesn't match the previously given size.
server first reports an expected transfer size, and then delivers data that
doesn't match the previously given size.