What Happens to Your Files After Upload? The Deletion Process Explained

July 6, 2026

You upload a file. You share the link. Days or weeks pass. Then — poof — the link stops working. What actually happened? Here is the complete file lifecycle on fff files.

Phase 1: Upload (0 seconds)

You drag a file onto the upload area. Behind the scenes:

  1. Your browser sends an "init" request — filename, size, content type
  2. The server generates a random file ID, upload token, and a presigned URL
  3. Your browser uploads the file directly to Cloudflare R2 storage — zero bytes pass through our Worker servers
  4. Your browser sends a "confirm" request with the upload token
  5. Metadata (filename, size, expiration date) is stored in D1 (SQLite)

Total time: typically 1-5 seconds depending on file size and connection speed.

Phase 2: Active (7-90 days)

The file is live. Anyone with the link can download it. Key details:

Phase 3: Soft Expiry (expires_at timestamp)

When the file reaches its expiration date:

Phase 4: Hard Delete (expiry + 30 days)

30 days after expiry:

Phase 5: Metadata Retention

Even after hard delete, minimal metadata persists:

Early Deletion (Manual)

If you use the delete token before the expiration date:

Cron Cleanup Schedule

Our cleanup process runs every 15 minutes and handles:

Upload a file and see for yourself →

Ready to share files?

Upload files for free →

No signup. 250MB limit. Auto-delete.

← Back to all articles