Open jefferis opened 5 years ago
If we stored headers next to downloaded files, we should be able to use this header to check if remote file is new or not.
> h1=httr::HEAD("https://ndownloader.figshare.com/files/12919949?private_link=85b2f2e4f479c94441f2") httr::headers(h1) [snip ...] $`x-amz-version-id` [1] "SvNuj35Vt3qah0Nq3VCneHUyZ9Sa_EeQ"
If we stored headers next to downloaded files, we should be able to use this header to check if remote file is new or not.