Recently I was wondering how I could get a file from a headless Linux VM onto a different Windows machine, and thought it would be super useful to have some kind of file sharing service which could be accessed from the command line. Almost like a pastebin, but for files rather than just text.
A quick search revealed something called transfer.sh
which allows you to send files up to 10 GB with no complicated setup required.
- Made for use with shell
- Share files with a URL
- Upload up to 10 GB
- Files stored for 14 days
- For free
- Encrypt your files
- Preview your files in the browser
An example of how to use it:
$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt
And there's even an onion link:http://jxm5d6emw5rknovg.onion/
I'd never heard of it but searched the DC forum in case I'd missed some previous mention of it, and found that a relatively new member of the forum posted a link using it just a couple weeks ago, here: http://www.donationc....msg428747#msg428747
It's open source
, too, so if you want to host it yourself you can do that:
This code contains the server with everything you need to create your own instance.
Transfer.sh currently supports the s3 (Amazon S3), gdrive (Google Drive) providers, and local file system (local).
I hope others here find this useful.