Last update:2020-07-06 14:00:18
This interface allows you to download a specified resource file from the cloud storage platform.
File downloads use the standard HTTP GET specification. See the [RFC2616 Standard] (http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3) 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 of the download request should conform to the HTTP GET request specification. See the [RFC2616 Standard] (http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6) 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.
curl -v -o 1.png http://downloadDomain/1.png