Skip to content

transfer.sh

Self-hosted file sharing server you upload to with curl from the command line

Permissive (OSI) · MIT
  • Self-hosted

Listed by , founder & editor

64

Health

Active

Overview

Stars

15,910

Last commit

yesterday

Nov 2026

Repository age

12 years

since Oct 2014

Latest version

v1.6.1

Dec 2023

Contributors

–

5 active in 90 days

Releases

0

last 12 months

Docker pulls

9.6M

dutchcoders/transfer.sh

Language

Go

transfer.sh is a file sharing server written in Go. You upload a file with a single curl command and get back a URL to share. You run your own instance, and the maintainers recommend self-hosting rather than relying on a public one.

Storage backends include Amazon S3, Google Drive, Storj and the local file system. Request headers set limits: Max-Downloads caps how many times a file can be fetched, and Max-Days sets when it is deleted. You can pipe content through gpg to encrypt before uploading. On your own server, X-Encrypt-Password and X-Decrypt-Password handle AES256 encryption server side. A file can also be sent to VirusTotal, and an X-Url-Delete response header gives you a deletion URL.

It is MIT licensed and has a Docker image with millions of pulls. It suits people who want a self-run alternative to hosted transfer services.

Who it's for

Developers sharing files from terminals and scripts

A curl upload returns a link, so it fits shell scripts and CI jobs.

Skip if: You need a web interface with accounts and folders.

Sysadmins running a private drop server

It can store to local disk, S3, Google Drive or Storj and expire files by days or downloads.

Skip if: You cannot patch and watch the server yourself, given the header spoofing warning.

Privacy-conscious users

You can encrypt with gpg before upload or use server-side AES256 on your own instance.

Skip if: You want end-to-end encryption handled by the client.

The problem it solves

Sending a file to someone often means signing up for a service or attaching it to email. This server lets you push a file with curl and share a link, on storage you control.

Strengths

  • Upload with one curl command and get a share link
  • Backends: S3, Google Drive, Storj and local disk
  • Limits on downloads and days before deletion
  • Optional AES256 server-side encryption and gpg workflows
  • MIT license with a Docker image

Trade-offs

  • Documents an IP filter and HTTP auth bypass through X-Forwarded-For spoofing
  • Maintainer decides at discretion whether to fix reported vulnerabilities
  • No tagged releases in the last year
  • Command-line focused; no accounts or folder management

Self-host transfer.sh

Self-hostable
Yes
Docker image
dutchcoders/transfer.sh
Hosted plan
From $4/month · pricing

Frequently asked questions

Is it free?

Yes. The server is MIT licensed. Hosted plans from other providers exist, but you can run your own instance.

Can I self-host it?

Yes. The maintainers recommend hosting your own instance, and a Docker image is available.

Where are files stored?

On Amazon S3, Google Drive, Storj or the local file system.

Can I limit how long a file is available?

Yes. Use the Max-Days and Max-Downloads request headers.

Similar tools in File sharing and transfer tools

copyparty

File sharing and transfer tools

Single-file Python file server with resumable uploads and many protocols, for any device

47k 1.9k today Thriving MIT

filepizza

File sharing and transfer tools

Peer-to-peer file sharing in the browser, with no upload to a server

10k 622 2 days ago Slowing BSD-3-Clause

Magic Wormhole

File sharing and transfer tools

Command-line tool for sending files between two computers with a short one-time code

23k 769 today Active MIT

slskd

File sharing and transfer tools

Web-based Soulseek client you run as a daemon or Docker container

4.3k 199 2 days ago Thriving AGPL-3.0

QRcp

File sharing and transfer tools

Command-line tool that moves files to and from your phone by scanning a QR code

11k 551 2 days ago Active MIT

Unison

File sharing and transfer tools

Two-way file synchronizer for Windows, macOS and Linux that handles edits on both sides

5.6k 278 2 months ago Slowing GPL-3.0