Comment How about, P2P In 2 Lines of... (Score 1) 418
Hello people, remember a little command called 'nc'?
receiving end: nc -p <ListenPort> -l > <FileReceived>
sending end: nc <IPofReceivingEnd> <ListenPort> < <FileToSend>
If you're thinking, "the python and perl scripts do much more"... I'm sure you could be creative in your shell scripting to accomplish the same thing using 'nc'. I have, and it works smooth as butter every time. The reason I bring NetCat into the discussion is not to shy folks away from these python and perl scripts. Truth be told, you will benefit in many more ways with the two interpreters vs 'nc'. However, 'nc' is such a small footprint. By using 'nc' you don't have to worry about python or perl being installed. Just a single loney powerful binary file called "nc".