Can’t believe this works!
When in Linux and you want to transfer some data in a file but are unable. Rsync not available, setup a web server (bad idea), not always possible, plus time consuming, then – Termbin.com is your friend.
Using Netcat send the contents of the file to Termbin.com, and instantly receive a private link where you can download your text.
Example
cat ilikethis.txt | nc termbin.com 9999
You should get back a custom URL, like this https://termbin.com/0jk4. Copy the link into a browser, or use Wget to access the contents from another device.