“ncp” is a utility for copying files in a LAN. It has absolutely no security or integrity checking, no throttling, no features, except one: you don’t have to type the coordinates of your peer.
Basically it works like this:
- You and your buddy want to play Quake
- Your buddy has a level that you don’t have
- He types
npush filenameand waits.
npushsends out UDP announcement packets proclaiming that someone wants to send something
- You type
npollwaits until it sees one of these packets.
- The files are copied with
tarover a TCP socket, so permissions and file dates (and if you are root, owners) are preserved.