CLI options: file.io Easy to use API Try it out: $ curl -F "file=@test.txt" https://file.io {"success":true,"key":"2ojE41","link":"https://file.io/2ojE41","expiry":"14 days"} $ curl https://file.io/2ojE41 This is a test $ curl https://file.io/2ojE41 {"success":false,"error":404,"message":"Not Found"} Or set an expiration: $ curl -F "file=@test.txt" https://file.io/?expires=1w {"success":true,"key":"aQbnDJ","link":"https://file.io/aQbnDJ","expiry":"7 days"} $ sleep 604801 $ curl https://file.io/aQbnDJ {"success":false,"error":404,"message":"Not Found"} The query param expires must be a positive integer which, by default, represents the number of days until the file will be deleted (defaults to 14 days). If you follow it with w , it will be the num...