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

openssh-sftp-client-lowlevel

Lowlevel utilities to communicate with openssh sftp server

11 releases (6 breaking)

0.7.1 Nov 6, 2024
0.6.0 Nov 16, 2023
0.5.1 May 17, 2023
0.4.1 Mar 15, 2023
0.1.0 Jul 9, 2022

#2056 in Network programming

Download history 5655/week @ 2024-08-01 9316/week @ 2024-08-08 7632/week @ 2024-08-15 11944/week @ 2024-08-22 10352/week @ 2024-08-29 9157/week @ 2024-09-05 6804/week @ 2024-09-12 10544/week @ 2024-09-19 10455/week @ 2024-09-26 10077/week @ 2024-10-03 9328/week @ 2024-10-10 8775/week @ 2024-10-17 10323/week @ 2024-10-24 8827/week @ 2024-10-31 8460/week @ 2024-11-07 8535/week @ 2024-11-14

38,164 downloads per month
Used in 12 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

~3.5–10MB
~97K SLoC