capabilities.work

Large File Multi-Part Upload

A 4-step recipe with Backblaze. We can help you get access.

Recipe · 4 steps

Large File Multi-Part Upload

Start, prepare, and finish a multi-part large file upload.

  1. Log in to the B2 API to obtain the authorization token.
  2. Prepare the large file upload, returning the fileId used by the part-url and finish steps.
  3. Obtain a URL and authorization token for uploading the parts of the large file identified by the fileId.
  4. Assemble the uploaded parts into a single B2 file using the ordered array of part SHA1 checksums.
What you'll need to have ready
  • bucketId: The bucket to create the large file in.
  • fileName: The name of the large file being uploaded.
  • contentType: MIME type of the large file.
  • partSha1Array: Ordered SHA1 checksums of each uploaded part.
For your developer

Arazzo workflow backblaze:large-file-upload, 4 operations: authorizeAccount → startLargeFile → getUploadPartUrl → finishLargeFile. Specs on APIs.io.