Also set and reset the linger option on the sending side.  This should signal corrupt file transfers to the receiver.
Also set and reset the linger option on the sending side.  This
should signal corrupt file transfers to the receiver.

bluhm/file-sync