Peter Gutmann wrote:
Damien Miller <djm%mindrot.org@localhost> writes:I would say that the current drafts of sftp tend to the porcine, but the older ones are quite lean.SFTP also exhibits the performance handbrake, whereas scp doesn't. You have to do quite a bit of work (and the other side has to as well) to avoid performance penalties.
The "handbrake" is only effects naive implementations. BTW "quite a bit of work" for OpenSSH was exactly: 1 files changed, 227 insertions(+), 93 deletions(-) for upload and download pipelining support. It would be less except for the silly requirement of the protocol that the server be allowed to reorder requests on a file handle. Only the client has to implement this, the server doesn't need any extra smarts at all (in fact, you can't even implement them there). -d