s3 fixes
This commit is contained in:
parent
329ba1d5e4
commit
401344ac5a
@ -491,6 +491,17 @@ auto s3_provider::get_file_list(api_file_list &list) const -> api_error {
|
||||
return api_error::comm_error;
|
||||
}
|
||||
|
||||
grab_more = doc.select_node("/ListBucketResult/IsTruncated")
|
||||
.node()
|
||||
.text()
|
||||
.as_bool();
|
||||
if (grab_more) {
|
||||
token = doc.select_node("/ListBucketResult/NextContinuationToken")
|
||||
.node()
|
||||
.text()
|
||||
.as_string();
|
||||
}
|
||||
|
||||
auto node_list = doc.select_nodes("/ListBucketResult/Contents");
|
||||
for (auto &&node : node_list) {
|
||||
auto api_path =
|
||||
|
Loading…
x
Reference in New Issue
Block a user