Chunked Upload
Compared with uploading the entire file directly, resumable upload has some more parameter requirements, but has the same return result. At the same time, the uploaded file can also be encrypted.
HTTP Interface:
PUT /chunks
Request Header:
key
description
Bucket
bucket name
Territory
territory name
Cipher(optional)
cipher
FileName
file name or alias
BlockNumber
The number of chunks the file is to be divided into
BlockIndex
index of chunk to be uploaded, [0,BlockNumber)
TotalSize
the byte size of the file, the sum of the sizes of all chunks
Identity signature required: yes
Request Body:
The file is provided in the form.
key
value
file
file[binary]
Request example:
Last updated