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: Netherlands files.kliksafe.nl

Location: United Kingdom wget.co.il

Location: United States of America get.ludomatic.fr

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

Location: United States of America transfersh.com

Location: Vietnam f.zamba.vn