Upload Part
描述:上传分片接口
请求格式:
PUT /<ObjectName>?partNumber=<PartNumber>&uploadId=<UploadId> HTTP/1.1
Host: <Your-Bucket-Name>.ss.bscstorage.com
Date: <date>
Content-Length: <Content-Length>
Content-MD5: <Content-MD5>
Authorization: <authorization string> #请参照《签名算法》
...
file_content
...
- 响应:
HTTP/1.1 200 OK
Date: Tue, 08 Apr 2014 02:59:47 GMT
Connection: keep-alive
x-amz-request-id: 0000106c-1608-0810-4621-00163e000064
x-amz-s2-requester: <Your UserName>
Etag: <Etag>
- Request Parameters(请求参数):
Parameter | Description | Required |
---|---|---|
partNumber | 文件分片的序号,从1开始 | Yes |
uploadId | 通过Initiate Multipart Upload(大文件分片上传初始化接口)获得的uploadId值 | Yes |
- Request Heades(请求头):
Name | Description | Required |
---|---|---|
Content-Length | 文件大小,读取时原值返回 | Yes |
Content-MD5 | base64编码的文件MD5(与传送内容不符时失败),注意:字符串格式为rfc标准使用base64编码的值 | No |
- 注意:
- 分片数不能超过2000。