## On the server side
        nc -lp 1234 -q 1 < /dev/null | pv | gunzip - -c > "recievedfile_$(date -Iseconds)"
    you can replace recievedfile with whatever prefix you would like
    adding the date is a suggestion if you are testing with a friend

    ## On the client side
        gzip -9 <sendingfile | nc -w 3 example.com 1234
    replace example.com with the server's IP