File Size Limits: Maximum file size is 1 GB per upload. Larger files should be chunked or compressed before upload.
Key Features
Universal File Support
Handle documents, media files, and attachments of all types
Progress Tracking
Real-time upload progress with automatic retry mechanisms
CDN Delivery
Optimized global delivery through content distribution network
Secure Storage
Enterprise-grade security with access control and encryption
File Properties
The file object contains comprehensive metadata and tracking information:Core Properties
Core Properties
Property | Type | Description |
---|---|---|
fileId | string | Unique identifier for the file |
fileUrl | string | Direct download URL for the file |
filename | string | Original filename with extension |
type | string | MIME type of the file |
Metadata & Tracking
Metadata & Tracking
Property | Type | Description |
---|---|---|
size | number | File size in bytes |
createdAt | Date | Upload timestamp |
updatedAt | Date | Last modification timestamp |
attributes | object | Custom metadata and file information |
isUploaded | boolean | Upload completion status |
File Attributes Structure
The
attributes
object provides detailed file information including format-specific metadata:File Upload
Upload files to social.plus with progress tracking and error handling. The SDK provides optimized upload with automatic retry and resumable uploads for large files.Large files are automatically chunked and uploaded with resume capability, ensuring reliable delivery even on unstable connections.
File Retrieval
Retrieve uploaded files using their unique file ID. The SDK provides efficient caching and optimized delivery through CDN.Files are automatically cached and delivered through our global CDN for optimal performance worldwide.
File Deletion
Remove files from social.plus storage when they’re no longer needed. Deletion is permanent and cannot be undone.Permanent Action: File deletion cannot be undone. Ensure you have proper confirmation flows in your application before allowing users to delete files.
Next Steps
Image Handling
Learn specialized image processing, compression, and thumbnail generation
Video Handling
Explore video upload, transcoding, and streaming capabilities
Posts Integration
Discover how to attach files to social posts and content
Chat Files
Learn about file sharing in chat messages and conversations