Upload with curl
The token sits in the path so the command stays short. The response is the share link.
curl -T backup.tar.gz https://cpxo.dev/up/cpx_YOURTOKEN/Prefer a header? Same thing:
curl -T backup.tar.gz -H "Authorization: Bearer cpx_YOURTOKEN" https://cpxo.dev/upPipe anything, name it with ?name=:
pg_dump mydb | gzip | curl -T - "https://cpxo.dev/up/cpx_YOURTOKEN?name=mydb.sql.gz"Download with wget or curl
Links are public and unguessable. Anyone with the link can download until it expires.
wget --content-disposition https://cpxo.dev/f/k3v9xq2a
curl -JLO https://cpxo.dev/f/k3v9xq2aInstall the cpxo script (optional)
POSIX sh, depends only on curl. Adds clipboard commands and direct-to-storage uploads for very large files.
curl -fsSL https://cpxo.dev/cli -o /usr/local/bin/cpxo && chmod +x /usr/local/bin/cpxo
cpxo login cpx_YOURTOKENcommands
cpxo up disk.img # upload, prints the link
cpxo get k3v9xq2a # download into the current dir
cpxo copy "hello from srv" # push text to your clipboard
echo "$PWD" | cpxo copy # or pipe it
cpxo paste # print the latest clip
cpxo ls # your files
cpxo rm 42 # delete nowLimits
4 GB per file. 512 KB per clipboard entry. Files are deleted 7 days after upload, both the database row and the object in storage.