Openssh server detect file transfer finished

Darren Tucker dtucker at dtucker.net
Wed Dec 2 14:31:00 AEDT 2020


On Wed, 2 Dec 2020 at 13:36, Damien Miller <djm at mindrot.org> wrote:
> On Wed, 2 Dec 2020, Micka wrote:
> > Any idea how to detect a transfer failure?
>
> Have the client upload a zero-length "transfer succeeded" file after the
> main file completes?

Have the client upload into an unmonitored "in-progress" directory and
move (ie rename) the file into a monitored directory as the final
step?

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list