Simple HTTP uploads, no auth
The FileDitch API is dead simple. POST a file, get a JSON response with a URL. No API keys, no accounts, no bullshit.
Files are kept as long as storage allows — no scheduled expiry. See retention under Limits below.
POSThttps://new.fileditch.com/upload.php
curl -T yourfile.mp4 "https://new.fileditch.com/upload.php?filename=yourfile.mp4"
curl -X POST \ -H "Content-Type: application/octet-stream" \ --data-binary @yourfile.mp4 \ "https://new.fileditch.com/upload.php?filename=yourfile.mp4"
curl -F "file=@yourfile.mp4" https://new.fileditch.com/upload.php
The server resolves the filename in this order. The first match wins:
1. ?filename= query parameter 2. X-Filename request header 3. Content-Disposition header (filename="..." or RFC 5987 filename*=) 4. Multipart field filename 5. Random hex string (fallback)
Spaces are replaced with underscores automatically. Unicode filenames are preserved.
| success | boolean — always true on success |
| url | string — direct link to the uploaded file |
| filename | string — final filename stored on server |
| size | integer — file size in bytes |
{
"success": true,
"url": "https://fileditchfiles.st/alpha19/a3f9c1b2d4e5f6071829/yourfile.mp4",
"filename": "yourfile.mp4",
"size": 104857600
}
{ "error": "description" }
| 400 | Empty file, no file sent, or incomplete upload (connection closed early) |
| 403 | Blocked file type (executables, scripts, web files) |
| 405 | Wrong HTTP method |
| 413 | File exceeds 150 GB limit |
| 500 | Server error |
| Max file size | 150 GB |
| Retention | Indefinite while accessed — only files untouched for 45+ days may be removed, and only when space is needed |
| Blocked extensions | php, html, js, exe, apk, sh, py, bat and other executables & scripts |
| Authentication | None required |