← fff files

API & curl Upload

Upload from the command line with one command. No account, no API key, no token. You get a shareable link back.

Upload a file

curl -F "file=@yourfile.zip" https://www.fffiles.com/up

Returns the download page URL as plain text. Pipe it, copy it, share it.

Upload with PUT (upload-file)

curl --upload-file ./yourfile.zip https://www.fffiles.com/up/yourfile.zip

Paste text / code

echo "hello world" | curl --data-binary @- https://www.fffiles.com/up
# or a form field:
curl --data "text=your snippet" https://www.fffiles.com/up

Text uploads return a /p/ paste link with an inline view and a /raw endpoint.

JSON response

curl -H "Accept: application/json" -F "file=@x.png" https://www.fffiles.com/up
# { "url": "...", "deleteUrl": "...", "expiresAt": "..." }

The delete URL is always returned in the X-Delete-Url response header too.

Options

Paste API (JSON)

curl -X POST https://www.fffiles.com/api/paste \
  -H "Content-Type: application/json" \
  -d '{"text":"hello","expiresInHours":24}'
# { "url":"/p/…", "raw":"/p/…/raw", "deleteUrl":"…" }

Download from the CLI

curl -LO https://www.fffiles.com/dl/<id>

The /dl/<id> shortcut 302-redirects straight to the file, so curl -L and wget download it directly.

ShareX

Import this custom uploader config (fffiles.sxcu) into ShareX to upload screenshots and files with a hotkey.

Limits

Back to fff files →