Openssh server detect file transfer finished

Stephen Harris lists at spuddy.org
Wed Dec 2 14:41:36 AEDT 2020


On Wed, Dec 02, 2020 at 01:32:16PM +1100, Damien Miller wrote:
> On Wed, 2 Dec 2020, Micka wrote:
> 
> > Thanks,
> > 
> > Any idea how to detect a transfer failure?
> 
> Have the client upload a zero-length "transfer succeeded" file after the
> main file completes?

When I did this in the mid 90s (for Oracle log shipping to a standby
database), I scp'd the datafile and then scp'd a checksum file and then
the receiving side would verify the checksum to ensure the file had
copied properly.

-- 

rgds
Stephen


More information about the openssh-unix-dev mailing list