如何通过传递存储桶名称和文件名,在Java中从Minio服务器下载多个文件。

huangapple 未分类评论50阅读模式
英文:

How to download multiple files from minio server in java by passing bucket name and file name

问题

如何通过传递存储桶名称和文件名称,在Java中从Minio服务器下载多个文件。
假设一个存储桶中有文件abc1.txt和abc2.text等等。我想获取多个文件。

英文:

How to download multiple files from minio server in java by passing bucket name and file name.
Suppose one bucket is having file abc1.txt and abc2.text
and so on.I want to get more then one file.

答案1

得分: 0

S3 API中没有单个请求的批量下载,您需要为每个对象调用GetObject。您可以并行调用GetObject

英文:

There are no bulk downloads with the single request in S3 API, you should call GetObject for each object. You may call GetObject in parallel.

huangapple
  • 本文由 发表于 2020年4月10日 03:51:44
  • 转载请务必保留本文链接:https://java.coder-hub.com/61129165.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定