curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

Re: [RFE] Improve etag handling with --etag-compare-update

From: Daniel Stenberg via curl-users <curl-users_at_lists.haxx.se>
Date: Mon, 28 Apr 2025 10:37:17 +0200 (CEST)

On Mon, 28 Apr 2025, Aleksei via curl-users wrote:

> I'm trying to implement a "download only if updated on a remote
> resource" functionality with a curl script using etags.
>
> Currently the etag file saved with --etag-save becomes useless after a
> single update on a remote resource.

I don't understand. Can you elaborate? If the remote resource is indeed
updated, surely it should download again and update the etag file?

-- 
  / daniel.haxx.se || https://rock-solid.curl.dev
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2025-04-28