File Upload Features
AstraCollab provides powerful file upload capabilities with support for both small and large files, progress tracking, and real-time status updates.Upload Methods
Single File Upload
For files smaller than 100MB, use the simple single file upload:Multipart Upload
For large files (100MB+), AstraCollab automatically uses multipart uploads:- Chunking: Files are split into 15MB chunks
- Parallel Upload: Chunks are uploaded in parallel for better performance
- Progress Tracking: Real-time progress for each chunk
- Resume Capability: Failed uploads can be resumed
Progress Tracking
Real-time Progress Updates
Track upload progress in real-time:Progress States
Files go through these states during upload:pending: File is queued for uploaduploading: File is currently being uploadedcompleted: Upload finished successfullyfailed: Upload failed with an errorcanceled: Upload was canceled by user
File Validation
Size Limits
- Free Plan: 100MB per file
- Creator Plan: 1GB per file
- Studio Plan: 5GB per file
- Production Plan: 10GB per file
File Type Restrictions
Configure allowed file types:Custom Validation
Add custom validation logic:Upload Options
Folder Organization
Upload files to specific folders:Multiple Files
Upload multiple files simultaneously:Custom File Names
Override file names during upload:Error Handling
Upload Failures
Handle various upload error scenarios:Retry Logic
Implement automatic retry for failed uploads:Performance Optimization
Chunk Size Configuration
Adjust chunk size for multipart uploads:Concurrent Uploads
Control the number of concurrent uploads:Upload Queue
Manage upload queue for better performance:Security Features
File Scanning
AstraCollab automatically scans uploaded files for malware and viruses.Access Control
Control who can upload files:Best Practices
- File Size Limits: Always validate file sizes before upload
- File Type Validation: Restrict allowed file types for security
- Progress Feedback: Show upload progress to improve user experience
- Error Handling: Implement comprehensive error handling
- Retry Logic: Add retry mechanisms for network failures
- Queue Management: Use upload queues for multiple files
- Security: Validate files on both client and server side
Support
Need help with file uploads?- API Reference: Check the upload endpoints
- SDK Documentation: Use our Next.js SDK or JavaScript SDK
- Examples: See upload examples
- Support: Email us at [email protected]