Re: «--etag-compare» while «--continue-at»
Date: Mon, 30 Mar 2020 04:01:06 +0300
Sorry, I do not know English well. Great sorry.
If I HAVE the FULL downloaded file and I need to PREVENT the downloading of the SAME file, I must
check ETag «If-None-Match», as now at cURL manual. And no error message is need (zero return code).
But if I have ONLY head (or begin) PART of the file and I need to download the tail (or rest, or
end) of the file WITH OPTION «--continue-at», I must check ETag IS EQUAL. ETag for head of the file
must match ETag for the tail of the file. Otherwise head and tail will from DIFFER files. And I
waiting the clear message about ERROR, if not equal, i.e. NON ZERO return code.
It is NOT bug, only my remark. Thank you for beautiful program.
> On Sun, 29 Mar 2020, Коваленко Анатолий Викторович via curl-users wrote:
>> When I resume a previous file transfer, I wish to MATCH previous ETag, NOT
>> «If-None-Match», as now. And I hope to see error message to stop my script
>> if ETag not match. Sorry.
> I'm not sure I understand. Can you please show with examples of how you'd want
> it to work compared to how it works now?
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-03-30