On target machine (192.168.0.10) $ nc -l -p 9999 > log.txt On OSX target machine $ nc -l 9999 > log.txt On source machine $ cat bigfile | nc 192.168.0.10 9999