[PATCH] add sftp-server option to force temp files

Jochen Bern Jochen.Bern at binect.de
Thu Feb 24 05:51:17 AEDT 2022


On 23.02.22 02:37, Damien Miller wrote:
> Implementing uploads that go via a temporary file in the client seems
> much more feasible as it would be subject to these considerations.

Oh I'd *wish* ... the latest supplier we added to our SFTP server and 
urged to do "upload temp file, then rename" got as close as doing PUT + 
COPY + DELETE, so we're now seriously having inotify watch for the 
DELETE to trigger the postprocessing of the beforeCOPYed file ... :-/

(And then there are those like the one whose client s/w throws in the 
towel if our server does as much as *offer* keypair auth in addition to 
passwords ... *so* glad that PasswordAuthentication and 
AuthenticationMethods can be used in Match blocks ...)

Kind regards,
-- 
Jochen Bern
Systemingenieur

Binect GmbH
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3449 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20220223/43d6765c/attachment.p7s>


More information about the openssh-unix-dev mailing list