cloudyr / aws.s3

Amazon Simple Storage Service (S3) API Client
https://cloud.r-project.org/package=aws.s3
381 stars 148 forks source link

get_bucket fails on CEPH S3 API because it assumes <Content> elements are always last in the XML. #413

Open cboettig opened 2 years ago

cboettig commented 2 years ago

Please specify whether your issue is about:

If you are reporting (1) a bug or (2) a question about code, please supply:

This code will run forever, because the function fails to increment NextMarker correctly:

d2 <- get_bucket(bucket = "drivers", prefix = "noaa/NOAAGEFS_raw/2022-03-20/00", max = Inf,
                base_url="data.ecoforecast.org", region="")

I will submit a PR to fix this.