Transfer.sh is a website that allows users to easily share files from a Linux terminal, for free. The only requirement is to have wget and cURL installed on your system, which are already preinstalled on most distributions so you probably won’t need to install anything.
The service is absolutely free, it allows users to upload files up to 10 GB, you can upload single or group of files in one shot. You have a option to encrypt files before uploading, all files can be deleted automatically from server after 14 days.
Transfer.sh support currently the s3 (Amazon S3) provider and local file system (local). This code is free to use, so you can explore Transfer.sh on your own server environment by modifying few settings.
- Share uploaded files with a URL
- Free to Upload up to 10 GB
- Files stored for 14 days
- Option to Encrypt your files
- Maximize amount of downloads
- The service is completely free
HowTo upload and share files using Transfer.sh
Transfer.sh helps users to share files over internet to anyone from command-line. Use the following format and mention the exact file location. After successful file upload, Transfer.sh will generate a unique URL for downloading.
First example, let’s say you have a text file you want to upload and share. Open a terminal and type:
As you can see, when upload is completed, it will return a link which you can then share.
Upload multiple files at once:
Send email with transfer link (needs mailutils to be installed):
wget uploads also supported:
Download a previously uploaded file:
Add and alias to .bashrc to make things even simpler!
Open .bashrc with a file editor:
Add the following line at the end of the file:
Now you can upload files by running the transfer command: