
Uploading through the UI
The UI provides a user-friendly way to upload files directly to your bucket. Pros:- Easy to use with a graphical interface
- Supports uploading multiple files at once
- Allows for file previews, downloads, presigned URL generation, and deletion
- Folder creation for better organization
- Requires manual intervention
- Not suitable for automated workflows
Uploading through a Flow
The File Storage Action allows direct file uploads from an API Route, Workflow, or Function. Pros:- Can be integrated into automated workflows
- Suitable for files up to 10MB
- Enables advanced automation scenarios
- Limited to files sent to your API Route
- Currently supports a maximum file size of 10MB
- Utilizes Flow runs, which may impact application limits
Uploading Programmatically
Send a PUT request to a presigned URL obtained from the File Storage Action. Pros:- Can be used in any application or service
- Supports larger files compared to Flow-based uploads
- File size up to 100MB
- Does not consume Flow runs
- Requires handling of HTTP requests and responses in your code
- Less user-friendly than the UI method
Multipart Upload
Multipart upload allows you to upload large files by splitting them into smaller parts. Pros:- Efficient for uploading large files
- Resumable uploads, allowing re-transmission of failed parts
- Parallel uploads reduce overall upload time
- Recommended for file larger than 10MB
- More complex implementation