sftp client: upload from pipe

Adam Osuchowski adwol at zonk.pl
Mon Jun 24 15:51:06 AEST 2019

Damien Miller wrote:
> IMO the best user experience is to refuse to handle them. I'm happy to
> leave sftp with some corner-case limitiations in return for it being a
> generally more reliable tool.

And can you agree to and make an exception for pipe attached to stdin?
Because, in fact, it's a case I'm concerned with. It could be handled
with special put command syntax, e.g. with dash:

sftp> put - /directory/file

so that there was no need to cope with all pipes/fifos cases.

More information about the openssh-unix-dev mailing list