#sftp #ssh #async #multiplex #networking #api-bindings

openssh-sftp-client-lowlevel

Lowlevel utilities to communicate with openssh sftp server

9 releases (5 breaking)

0.6.0 Nov 16, 2023
0.5.1 May 17, 2023
0.4.1 Mar 15, 2023
0.4.0 Oct 23, 2022
0.1.0 Jul 9, 2022

#1981 in Network programming

Download history 14570/week @ 2024-01-25 11092/week @ 2024-02-01 2773/week @ 2024-02-08 7637/week @ 2024-02-15 6983/week @ 2024-02-22 6080/week @ 2024-02-29 7956/week @ 2024-03-07 6839/week @ 2024-03-14 9011/week @ 2024-03-21 5524/week @ 2024-03-28 8348/week @ 2024-04-04 10127/week @ 2024-04-11 7941/week @ 2024-04-18 13330/week @ 2024-04-25 7067/week @ 2024-05-02 7835/week @ 2024-05-09

37,257 downloads per month
Used in 7 crates (via openssh-sftp-client)

MIT license

120KB
2.5K SLoC

This crate provides a set of APIs to access the remote filesystem using the sftp protocol and is implemented in pure Rust.

It supports sending multiple requests concurrently using WriteEnd (it can be WriteEnd::cloned), however receiving responses have to be done sequentially using ReadEnd::read_in_one_packet.

To create WriteEnd and ReadEnd, simply pass the stdin and stdout of the sftp-server launched at remote to connect.

This crate supports all operations supported by sftp v3, in additional to the following extensions:

Dependencies

~4–11MB
~99K SLoC