establish a server daemon

nc -lvn 8080  > /tmp/test 

send file to server

nc -v -w 3 ipaddress 8080 < test.json