Free file upload from CLI

Transfer.sh is a very popular service used for uploading files with a short life. It is used mostly in automation pipelines, as it allows uploading via curl. You can find the script on GitHub if you ever decide to host one instance yourself.

Most important features supported by this amazing instance I find being:

  • Upload using curl
$ curl --upload-file <FILE> http(s)://<DOMAIN>
  • Inline dowload, please pay attention to the inline keyword used when constructing the link. Usually used for PDF/TXT files.
http(s)://<DOMAIN>/inline/<HASH>/<FILE>
  • Direct download link, via the get keyword when constructing the download link
http(s)://<DOMAIN>/get/<HASH>/<FILE>
  • Setting the maximum number of downloads, after which the file and link will be discarded is achieved by setting the following HTTP header:
$ curl -H "Max-Downloads: 1"
  • Setting the maximum number of days, after which the file and link will be discarded is achieved in a similar fashion, with a different HTTP header:
$ curl -H "Max-Days: 5"

Below you can find a list with alternative websites which have been set-up using the same GitHub script provided earlier:

Location: China d.chaifeng.com

Location: China somsung.cn

Location: United States of America www.this-is-my.life

Location: Lithuania f.secretalgorithm.com

Location: United States of America transfersh.com

Location: United States of America transfer.gingertechnology.net

Location: Canada aliant.ath.cx:8080

Location: United States of America droppan.com

Location: Vietnam f.zamba.vn

Location: Australia transfer.kiska.pw

Location: United States of America bringsh.com

Location: United States of America 192.187.109.186:7000

Location: Poland 109.74.108.40:8080

Location: United Kingdom 188.114.112.1:8080