1 min read
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.
upload.js
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.