# Upload using cURL
$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt https://transfer.sh/66nb8/hello.txt
# Create an alias
$ transfer hello.txt
##################################################### 100.0% https://transfer.sh/eibhM/hello.txt
# Uploading is easy using curl
$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt
# Download the file
$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt
# Add this to .bashrc or its equivalent
transfer() { # write to output to tmpfile because of progress bar tmpfile=$( mktemp -t transferXXX ) curl --progress-bar --upload-file $1 https://transfer.sh/$(basename $1) >> $tmpfile; cat $tmpfile; rm -f $tmpfile; }
alias transfer=transfer
# Now you can use transfer command
$ transfer hello.txt
$ curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt https://transfer.sh/
# Combining downloads as zip or tar archive
$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).tar.gz
$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).zip
# Encrypt files with password using gpg
$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt
# Encrypt and upload
$ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt
# Scan for malware or viruses using Clamav
$ wget http://www.eicar.org/download/eicar.com
$ curl -X PUT --upload-file ./eicar.com https://transfer.sh/eicar.com/scan
# Upload malware to VirusTotal, get a permalink in return
$ curl -X PUT --upload-file nhgbhhj https://transfer.sh/test.txt/virustotal
# Backup, encrypt and transfer
$ mysqldump --all-databases|gzip|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt
# Transfer and send email with link (uses alias)
$ transfer /tmp/hello.txt | mail -s "Hello World" user@yourmaildomain.com
# Your awesome sample will be put here
@dutchcoders Thanks for transfer.sh. Just used it for a production purpose for a customer. So great, so easy, so https. :)
— Dave Sims (@FloifyDave)
@dutchcoders love transfer.sh! any change we can *pay* for a self-hosted version?
— Kareem Kouddous (@kareemk)
http://t.co/JomAmqWYEB by @dutchcoders is pure awesomeness! any chance of source on github? :-)
— PJ Spagnolatti (@drakpz)
Love transfer.sh! Will be using it from now on! Thanks for the amazing service we can use from the CLI @dutchcoders
— Jacob Lindgren (@jacoblindgren11)
transfer.sh is my latest fav service! Try simple command-line and web file sharing! https://t.co/FSrsb1JKJd
Thanks @dutchcoders !
— Lars Arvestad (@arvestad)