Upload with cURL
Upload files from the command line using cURL. Click any command to copy it to clipboard.
Simple upload (recommended)
curl https://fd.tol.dk/upload.php -F file=@filename.pdf
With custom expiry time (in minutes)
curl https://fd.tol.dk/upload.php -F file=@image.jpg -F expiry=180
With download limit and password
curl https://fd.tol.dk/upload.php -F file=@secret.zip -F max_downloads=5 -F password=secret123
Response (clean output)
✓ Upload success File: document.pdf Size: 2.5 MB Download: https://fd.tol.dk/d/abc123xyz789/document.pdf Expires: 1 hour
Available Expiry Times
- •
15= 15 minutes - •
30= 30 minutes - •
60= 1 hour - •
180= 3 hours - •
360= 6 hours - •
720= 12 hours - •
1440= 24 hours - •
2880= 2 days - •
10080= 7 days
Tips
- • Max file size: 500 MB
- • Click "Copy" buttons above to get commands ready to use
- • URL first:
curl URL -F file=@filename - • Extract URL only:
curl ... | grep "Download:" | cut -d' ' -f2