talira

transfer.sh

Easy and fast file sharing from the command-line

open sourceMITself-hostablefree

transfer.sh is a self-hosted file sharing server you upload to with curl: curl --upload-file ./file https://your-host/file returns a download link. Uploads can be limited to a number of downloads or days, encrypted on the server with a password, scanned with ClamAV or sent to VirusTotal, and deleted with the delete URL returned in a response header. Files are stored on the local file system, Amazon S3 or an S3-compatible service, Google Drive or Storj. The server can restrict uploads with htpasswd basic auth and IP allow lists, rate-limit requests, cap upload size, purge old files on a schedule and get its own Let's Encrypt certificates.

Problems it solves

  • share a file from the terminal and get a download link with one curl command
  • host my own file drop instead of using WeTransfer
  • links to uploaded files that expire after a number of downloads or days
  • store uploaded files in S3 or Google Drive behind a simple upload server

Features

  • upload with curl and get a download link
  • Max-Downloads and Max-Days limits per upload
  • server-side encryption with a password
  • ClamAV scanning and VirusTotal upload
  • delete URL in the X-Url-Delete response header
  • local, Amazon S3 and S3-compatible, Google Drive and Storj storage
  • htpasswd basic auth and IP allow lists
  • rate limiting, max upload size and scheduled purge
  • Let's Encrypt certificates

Limitations

  • The README warns of an open security issue: IP filtering and HTTP authentication can be bypassed by spoofing the X-Forwarded-For header.1
  • The project offers no hosted service: the repository points to no public instance and its maintainer advises hosting your own.1

Capabilities

Has an APIplan not known

Alternatives

The same job

These do what transfer.sh does.

  1. Uguu Simple, lightweight temporary file hosting
  2. ShareDrop Easy P2P file transfer powered by WebRTC - inspired by Apple AirDrop
  3. Sharry Self-hosted web app for sending and receiving files by link
  4. Snapdrop Local file sharing in your browser. Inspired by Apple's Airdrop.
  5. Cloudreve Self-hosted file management system with multi-cloud support

Compare transfer.sh with the top 3