FILE2

Read Q&A If Needed(?)

UPLOAD

MAX FILE SIZE: 200MB

Format: 30m, 2h, 1h30m, 2d, etc. (Min: 30 minutes, Max: 3 days)

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