quickly copy file between linux hosts using udp The file to be copied is split into units. sendfile and recvfile work in pairs. sendfile will send these units to recvfile. sendfile run on the source host. recvfile run on the targe host. check send.sh and recv.sh for example.