Openssh server detect file transfer finished
Damien Miller
djm at mindrot.org
Wed Dec 2 14:41:07 AEDT 2020
On Wed, 2 Dec 2020, Darren Tucker wrote:
> 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?
actually, a few people have asked about a client-side feature that
uploads files to a temporary name and then issues a rename once completed.
This would only help if using the OpenSSH sftp client though...
-d
More information about the openssh-unix-dev
mailing list