News for hackers. Stuff that matters.
Re:$ cat ~/myfile | curl -X PUT --upload-file “-” https://tr... by Retr0spectrum on Sunday March 20, 2016 @05:08AM (#11322315)
You can do that with netcat if either A or B are listening.
Re:$ cat ~/myfile | curl -X PUT --upload-file “-” https://tr... by Symbiote on Sunday March 20, 2016 @06:05AM (#11322408)
I do this fairly regularly.

    A$ tar cv * | nc -l -p 1234

    B$ nc a.example.net 1234 | tar xv
Or I might remove a 'v' and pipe through 'pv' to see the transfer rate and amount.
Re:$ cat ~/myfile | curl -X PUT --upload-file “-” https://tr... by oxplot on Sunday March 20, 2016 @06:46AM (#11322474)
Well over the "Internet" kind of implies behind a firewall so the service would be a convenience to avoid setting up port forwarding etc.
Re:$ cat ~/myfile | curl -X PUT --upload-file “-” https://tr... by lolidaisuki on Sunday March 20, 2016 @07:39AM (#11322573)
VPN are a thing.

I recommend just installing cjdns and forwarding the home end. It also encrypts your traffic. You wouldn't want to netcat in cleartext over the internet.

Re:$ cat ~/myfile | curl -X PUT --upload-file “-” https://tr... by voltagex_ on Sunday March 20, 2016 @10:17AM (#11322981)
You could always just pipe it through ssh or some other thing. Setting up openvpn or similar is nontrivial - even if you're lucky enough to have a static IP and enough spare time to make it work.
Re:$ cat ~/myfile | curl -X PUT --upload-file “-” https://tr... by lolidaisuki on Sunday March 20, 2016 @11:45AM (#11323331)
> Setting up openvpn or similar is nontrivial

Setting up cjdns is less work than setting up SSH.