#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

#2096 in Network programming

Download history 11859/week @ 2024-08-21 10223/week @ 2024-08-28 8473/week @ 2024-09-04 7758/week @ 2024-09-11 9237/week @ 2024-09-18 10976/week @ 2024-09-25 10979/week @ 2024-10-02 8232/week @ 2024-10-09 9065/week @ 2024-10-16 10837/week @ 2024-10-23 9054/week @ 2024-10-30 8165/week @ 2024-11-06 9198/week @ 2024-11-13 5219/week @ 2024-11-20 4855/week @ 2024-11-27 5626/week @ 2024-12-04

26,679 downloads per month
Used in 14 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–10MB
~97K SLoC