Menu

Up to 5 TB file transfers with Blob multipart uploads - Vercel
πŸ“°

Up to 5 TB file transfers with Blob multipart uploads - Vercel

Vercel NewsΒ·Vincent VoyerΒ·2 days ago
#YE79Uhrt
#vercel#upload#multipart#file#blob
Reading 0:00
15s threshold

Vercel Blob now supports storing files up to 5 TB with multipart uploads.

When using multipart: true, put() and upload() will progressively read and chunk data, upload it in parts, and retry if there are issues.

import { upload } from '@vercel/blob/client';

const blob = await upload('big-file.mp4', file, {

access: 'public',

handleUploadUrl: '/api/upload',

multipart: true // πŸš€

});

Uploading a big video file to Vercel Blob

Network output is maximized without consuming too much memory. Multipart uploads support retrying streams (Node.js streams and the Web Streams API), a unique feature amongst file upload APIs.

Check out the documentation to learn more.