Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only download missing registration files #4

Open
jefferis opened this issue Jul 4, 2019 · 0 comments
Open

Only download missing registration files #4

jefferis opened this issue Jul 4, 2019 · 0 comments

Comments

@jefferis
Copy link
Collaborator

jefferis commented Jul 4, 2019

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant