NetCat is a very handy network tool.

Sending files with netcat

send the file from $IP
netcat -l -p 12345 < filename

receive the file at $IP
netcat -v $IP 12345 > filename

Other uses for NetCat