【问题标题】:Read a xml file inside .zip file on Amazon S3 without downloading the big zip file?在 Amazon S3 上读取 .zip 文件中的 xml 文件而不下载大 zip 文件?
【发布时间】:2020-10-13 12:32:01
【问题描述】:

我在 Amazon S3 上有很多 .zip 文件,它们很大,我不需要全部下载。我只需要其中唯一的 xml 文件就可以知道应该下载哪个文件。

Sentinel 3 数据xfdumanifest.xml 就是这种情况,例如:

s3://s3-olci/LFR/2018/01/31/S3A_OL_2_LFR____20180131T225040_20180131T225340_20180202T040253_0180_027_215_2520_LN1_O_NT_002.zip/S3A_OL_2_LFR____20180131T225040_20180131T225340_20180202T040253_0180_027_215_2520_LN1_O_NT_002.SEN3/xfdumanifest.xml

有谁知道如何只读取这个xfdumanifest.xml 文件而不下载整个 zip 文件?

【问题讨论】:

  • 您最多可以流式传输 Zip 文件并读取您需要的一个文件。但这意味着您需要阅读所有 Zip 文件直到您想要的条目。

标签: amazon-web-services amazon-s3 zip sentinel


【解决方案1】:

S3 不支持从 ZIP 中仅下载和提取一个文件。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-12-04
    • 2012-01-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-12-15
    • 2021-06-09
    • 1970-01-01
    相关资源
    最近更新 更多