upload
Upload a file from your local filesystem and obtain signed links for sharing, with options to set expiry, password, and download limits.
Instructions
Upload a file from the local filesystem and get a signed link. Returns an agent_link (direct download URL for scripts/agents) and a human_link (browser-friendly share page). SHA-256 is always computed and returned for integrity checks. Works without an API key (guest mode, 10 MB limit). Set TRANSFA_API_KEY for larger files and longer TTLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file to upload | |
| expires | No | TTL: "1h", "24h", "7d", "30d". Default: 7d | |
| name | No | Override filename shown to recipient | |
| password | No | Password-protect the link | |
| once | No | Delete after first download | |
| max_downloads | No | Max download count | |
| grace | No | Grace period after expiry, e.g. "12h" — keeps file downloadable this long after TTL ends |