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

get_bucket() pagination not working with DigitalOcean Spaces #393

Open
pieterprovoost opened this issue Sep 11, 2021 · 0 comments
Open

get_bucket() pagination not working with DigitalOcean Spaces #393

pieterprovoost opened this issue Sep 11, 2021 · 0 comments

Comments

@pieterprovoost
Copy link

get_bucket() does not work with DigitalOcean Spaces when there are more than 1000 objects (around 4000 in my case). Setting max at a value over 1000 results in duplicate objects, and setting max at Inf results in an infinite loop.

library("aws.s3")

## code goes here
objects <- get_bucket(
  bucket = "my-bucket",
  prefix = "pipeline",
  max = 10000
)

## session info for your system
R version 4.0.2 (2020-06-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS  10.16

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] aws.s3_0.3.22

loaded via a namespace (and not attached):
[1] httr_1.4.2          compiler_4.0.2      R6_2.5.0            tools_4.0.2         base64enc_0.1-3     curl_4.3            aws.signature_0.6.0 xml2_1.3.2          digest_0.6.27
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