Chunk Upload

The Upload enables you to upload chunks of files from local file systems to dedicated server handlers which are configured to receive them.

To enable chunk upload, set the async-chunk-side property to true. Each request sends a separate file blob and additional string metadata to the server. This metadata is in a stringified JSON format and contains the chunkIndex, contentType, totalFileSize, totalChunks, and uploadUid properties. These properties enable the validation and combination of the files on the server. The response also returns a JSON object with the uploaded and fileUid properties which notify the client what the next chunk is.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?