Neat idea, and props for the https. Are the files encrypted on the server?
There's an example on how to encrypt the files before sending them to the server: # Encrypt files with password using gpg $ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt # Download and decrypt $ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt
$ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt
21–30 of 125 posts
Re: $ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt
#22You almost never really want "-X".
Re: $ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt
#23Re: $ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt
#24I use sprunge [ http://sprunge.us/ ] for the exact same purpose. Normal usage: $ more c14.py | sprunge And it outputs: http://sprunge.us/eCeM The nice thing about sprunge is that you also have syntax highlighting: http://sprunge.us/eCeM?py Appending a ? will syntax highlight the text according to the lang. P.S. To use a pipe with sprunge, put an alias in your .zshrc / .bashrc: alias sprunge="curl -F 'sprunge= http://…
Re: $ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt
#25Re: $ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt
#26It'd be cool to have the ability to pipe stuff over the Internet from shell in real time like you would with SSH for instance. So I could do: A$ curl --upload-file - http://blah B$ curl http://blah/uYsfVX and see live stream of data on B.
Re: $ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt
#27 PS> cat myfile | out-string | iwr -Method Put -Uri https://transfer.sh/myfile.txtRe: $ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt
#28It'd be cool to have the ability to pipe stuff over the Internet from shell in real time like you would with SSH for instance. So I could do: A$ curl --upload-file - http://blah B$ curl http://blah/uYsfVX and see live stream of data on B.
Re: $ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt
#29I use sprunge [ http://sprunge.us/ ] for the exact same purpose. Normal usage: $ more c14.py | sprunge And it outputs: http://sprunge.us/eCeM The nice thing about sprunge is that you also have syntax highlighting: http://sprunge.us/eCeM?py Appending a ? will syntax highlight the text according to the lang. P.S. To use a pipe with sprunge, put an alias in your .zshrc / .bashrc: alias sprunge="curl -F 'sprunge= http://…
I think the newness about this is that they've released the code on github under MIT, so you can self-host the service if you want. I think none of the othe rprojects mentioned here have are opensource or have a slef-hosted version.