curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: --continue-at - Last-Modified and output mtime

From: Jack Bates <svzsq1_at_nottheoilrig.com>
Date: Wed, 20 Mar 2019 12:41:09 -0700

On 2019-03-20 5:59 a.m., Daniel Stenberg wrote:
> On Sun, 17 Mar 2019, Jack Bates wrote:
>>> On Thu, 28 Feb 2019, Jack Bates wrote:
>>>> Does `curl --continue-at -` confirm that a 206 Partial Content
>>>> Last-Modified timestamp is before the output mtime, before appending
>>>> to it?
>>>
>>> No.
>>
>> Would you consider applying a patch to that effect?
>
> The 206 check I certainly think would make sense, if it isn't already
> done, but checking the Last-Modified time stamp is going to be
> error-prone and I think also a little beyond what --continue-at is for.
>
> If you want that date check, couldn't -z be added to the command line
> for that?

-z works, thank you! However it doesn't work with --remote-name. Could
`--continue-at -` enable -z by default?
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-03-20