TL;DR: $ curl -F "f=@filename.ext" gbin.me TL;DR: $ cat file | curl -F "f=@-" gbin.me