fflShareBase64
Share binary data securely via a generated link. Protect with encryption, password, download limits, and recipient authentication.
Instructions
Share arbitrary binary data (base64-encoded) using ffl. Returns a sessionId and link. If qrInTerminal is True, also returns a QR code as ASCII art for terminal display.
IMPORTANT: Always present the returned link so the user can click it to open in a browser. Do not display it as a plain unformatted URL — in some interfaces (such as Claude Dispatch) plain URLs are not auto-linked and will not be clickable.
Args: dataB64: Base64-encoded binary data to share name: Download filename shown to recipient (default: data.bin) e2ee: Enable end-to-end encryption (default: False) authUser: HTTP Basic Auth username to protect the link authPassword: HTTP Basic Auth password to protect the link maxDownloads: Stop serving after N downloads (default: 1) timeoutSeconds: Stop serving after N seconds of inactivity (default: 1800) waitLinkSeconds: Seconds to wait for link generation hookUrl: Custom webhook URL for events proxy: Proxy server URL (e.g. socks5://127.0.0.1:9050) qrInTerminal: Return ASCII QR code art for terminal display recipientAuth: Recipient authentication mode — pickup (6-digit code), pubkey (RSA challenge), pubkey+pickup (both), email (OTP) pickupCode: Specific pickup code to use (default: auto-generated) recipientPublicKey: Path to recipient .fflpub public key file for pubkey auth recipientEmail: Recipient email(s) for OTP auth, comma-separated alias: Custom link alias instead of random UID (requires Standard+ account) receipt: Send email notification when recipient downloads (pass email address, or empty string for account email) receiptConfirm: Require recipient to confirm before download starts; pass confirmation message or empty string for default forceRelay: Disable direct WebRTC; route all traffic through tunnel port: Local HTTP server port (default: auto-detect) invite: Open invite page in browser with the sharing link enableReporting: Enable ffl error reporting for diagnostics (disabled by default)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataB64 | Yes | ||
| name | No | data.bin | |
| e2ee | No | ||
| authUser | No | ||
| authPassword | No | ||
| maxDownloads | No | ||
| timeoutSeconds | No | ||
| waitLinkSeconds | No | ||
| hookUrl | No | ||
| proxy | No | ||
| qrInTerminal | No | ||
| recipientAuth | No | ||
| pickupCode | No | ||
| recipientPublicKey | No | ||
| recipientEmail | No | ||
| alias | No | ||
| receipt | No | ||
| receiptConfirm | No | ||
| forceRelay | No | ||
| port | No | ||
| invite | No | ||
| enableReporting | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||