UPLOAD
MAX FILE SIZE: 200MB
DRAG & DROP FILES HERE
OR
API DOCUMENTATION
Upload File
POST
/api/upload
Upload a file using multipart/form-data with field name "file"
curl -X POST -F "file=@yourfile.pdf" https://file2.app/api/upload
Download File
GET
/download/{file_id}
Download a file by its unique ID (forces download)
Direct File Access
GET
/file/{file_id}/{filename}
Access file directly in browser (inline display)
File Information
GET
/api/file/{file_id}
Get metadata about an uploaded file
Storage Statistics
GET
/api/stats
Get storage statistics (total files and size)
BLOCKED FILE TYPES
For security reasons, the following file types are blocked:
.exe
.bat
.cmd
.com
.scr
.vbs
.msi
.dll
and other executable formats