On Tue, 29 Apr 2025, Aleksei wrote:
I'm asking for "and update the etag file" part to be done by curl.
Scenario:
1) curl downloads a webpage, saving etag file in file0.etag
Something like this:
curl --etag-save file0.etag $URL
2) website updates a webpage (update 1)
3) curl uses "--etag-co
On 2025-04-28, Daniel Stenberg wrote:
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 4/28/25 02:37, Daniel Stenberg via curl-users wrote:
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 afte
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 unders
Hello,
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. This can be worked around on the
client side by saving etag to