S3: How to do a partial read / seek without downloading the complete file?

前端 未结 3 1825
不思量自难忘°
不思量自难忘° 2020-12-02 17:12

Although they resemble files, objects in Amazon S3 aren\'t really \"files\", just like S3 buckets aren\'t really directories. On a Unix system I can use head to

3条回答
  •  有刺的猬
    2020-12-02 17:49

    The AWS .Net SDK only shows only fixed-ended ranges are possible (RE: public ByteRange(long start, long end) ). What if I want to start in the middle and read to the end? An HTTP range of Range: bytes=1000- is perfectly acceptable for "start at 1000 and read to the end" I do not believe that they have allowed for this in the .Net library.

提交回复
热议问题