Download Files

최신 업데이트:2022-03-01 18:00:54

Description

This interface allows you to download a specified resource file from the cloud storage platform.

Request Description

File downloads use the standard HTTP GET specification. See the RFC2616 Standard for details.

http://< domain>/< key>?< param1>=< value1>&< param2>=< value2>…

During a download, the standard HTTP Range request header can be used to support the multipart download and resuming upload from breakpoint.

List Item

Range: bytes=< first-byte>-< last-byte>

Response Description

Response of the download request should conform to the HTTP GET request specification. See the RFC2616 Standard for details.

For an object append-uploaded, the following two headers will be added during response:

x-wcs-object-type: Appendable
x-next-append-position: < Content-Length int64>

The above two headers are used to identify the type of object and position of the next append.

Example

curl -v -o 1.png http://downloadDomain/1.png

이 문서의 내용이 도움이 되었습니까?
아니오
정상적으로 제출되었습니다.피드백을 주셔서 감사합니다.앞으로도 개선을 위해 노력하겠습니다.