Earlier quoted context omitted.
I think the point is to illustrate that you can pipe things into it. There exist programs that work on files, and work much worse or not at all on standard input; this example thus demonstrates more power. (Though, alluded to below, the "-X PUT" may be totally superfluous.)
The pipe is into curl, has nothing to do with the website itself
$ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt
51–60 of 125 posts
Re: $ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt
#52Uploading a file: curl -F 'f:1=@file.ext' ix.io
Re: $ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt
#53I might be unusual here, but I typically get stuck when trying to copy files off a remote Windows machine. Most recently was an aged Windows server with a version of internet explorer so old that all the modern file upload sites (e.g. https://file.io/ ) seemed to have JavaScript issues. Windows built in WebDAV support didn't work, because it's not installed on Windows server I think. Can anyone come up with a way to…
Re: $ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt
#54http://ix.io/ Uploading a file: curl -F 'f:1=@file.ext' ix.io
[I'm friends with the author.]
Re: $ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt
#55Obligatory xkcd : https://xkcd.com/949/
Just drop it on one of the folders in your Dropbox that's also served by IIS on one of your boxen. Then simply link from the appropriate subdomain on your personal domain. Been doing this for 15 years, dunno why nobody else does.
Re: $ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt
#56Re: $ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt
#57Re: $ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt
#58I always wonder how sites like these deal with stuff like potentially hosting child porn/other content that is illegal to possess. Does DCMA safe harbor stuff cover it? (don't see a DCMA notice on the site)
You can leave out the 'potentially'. I shut down a file sharing service specifically for that reason, it is just about impossible not to become a vector for the transmission of illegal or objectionable content. DMCA does not cover it, because the DMCA is about copyright , not about content that is illegal to possess regardless of how you got it. That said, the police (at least, the police here) is more than happy to…
Re: $ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt
#59Re: $ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt
#60Send files to i@nfil.es
Then you'll get something like this https://nfil.es/EOir5z/