Concepts
Files and expiry
How files are named, typed, stored and deleted, and how to choose a lifetime.
A file is a name, some bytes and an expiry time. It belongs to one account and is private to it until you share it.
Lifetime#
Every file expires. You choose the lifetime when you upload it:
| Form | Examples |
|---|---|
| Seconds | 3600 |
A number and a unit (s m h d w) |
90m, 24h, 7d, 14d |
- The default is 24 hours.
- The maximum is 14 days. An operator can lower it, never raise it.
- Re-uploading a name resets its lifetime and revokes its links.
An expired file answers 404, vanishes from lists at once, and is deleted from disk by a sweeper that runs about once a minute.
Choose the shortest lifetime that fits the job. A build artifact for a colleague needs hours, not days.
Names#
A file name has 1 to 128 characters: letters, digits, ., _, -. It starts with a letter or a digit. Two people can use the same name; files are isolated per account.
Types and previews#
FuzzyShare detects the type from the upload's Content-Type, then the file extension, then the first bytes. The result is the file's content_type and a kind:
html, markdown, csv, json, text, link (.url files), image, svg, pdf, audio, video or other.
Share links open a preview for these kinds in a browser. Uploaded HTML runs in a sandbox with no access to the app, so a shared page cannot read anyone's key.
Overwriting and deleting#
Uploading to an existing name replaces the file. Deleting removes it now. Both revoke every link that pointed at the old version.
Visibility#
A file is private by default. It is public when it has an active public link. See Public and private links.