transfersh
Share files via command-line uploads
TLDR
Upload file
SYNOPSIS
curl --upload-file file [-H headers] https://transfer.sh/[name]
DESCRIPTION
transfer.sh is a file sharing service designed for easy command-line use. Files are uploaded via standard HTTP PUT requests using curl, and the service returns a unique download URL that can be shared with others. No account or registration is required for basic uploads.
Uploads can be configured with expiration times and download limits through HTTP headers, giving control over how long files remain available and how many times they can be downloaded. Files are automatically deleted after the specified expiration period. The service also supports encryption by piping files through GPG before uploading.
Transfer.sh can be self-hosted as an open-source Go application or used through the public instance at transfer.sh. It supports uploads up to several gigabytes and provides delete URLs for manual removal of uploaded files.
PARAMETERS
--upload-file
File to upload.Max-Downloads: N
Download limit.Max-Days: N
Days until expiry.-X DELETE
Delete file.
CAVEATS
External service. Size limits. Public URLs.
HISTORY
transfer.sh was created as a simple file sharing service using the command line via curl.
