Download objects

更新时间:
复制 MD 格式

OSS provides multiple download methods to suit different scenarios — from simple single-request downloads to large-file resumable transfers and temporary URL-based sharing.

OSS provides the following download methods:

  • Simple download: Downloads an object in a single HTTP request using the GetObject operation. Best for small objects or when download speed is not a concern.

  • Resumable download: Splits a large object into parts and downloads them concurrently. If interrupted, the download resumes from the last checkpoint. Best for large objects or unstable network connections.

  • Download files using a signed URL: Generates a signed URL that grants temporary access to an object without revealing your AccessKey pair. Best for sharing objects with third parties or granting time-limited viewing or downloading access.

  • Conditional download: Downloads an object only if it meets conditions based on its ETag or last modified time — for example, If-None-Match or If-Modified-Since. If the object has not changed, OSS returns 304 Not Modified instead of re-sending the object. Best for scenarios where re-downloading unchanged objects wastes bandwidth.