ProtoCore v0.0.2
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
ssh_sftp.h File Reference

SFTP server subsystem - the fs::FS binding (PC_ENABLE_SSH_SFTP). More...

#include "protocore_config.h"

Go to the source code of this file.

Detailed Description

SFTP server subsystem - the fs::FS binding (PC_ENABLE_SSH_SFTP).

Binds the pure SFTP v3 codec (services/file_transfer/sftp) to an SSH session channel + an Arduino fs::FS mount: when a client requests the "sftp" subsystem, this serves SSH_FXP_* requests (open/read/write/opendir/readdir/ stat/mkdir/rmdir/remove/rename/realpath) against files under root, with a fixed handle table and streamed reads/writes (no heap beyond the fs layer's own file handles). Call pc_ssh_sftp_begin() once after pc_ssh_conn_setup(); it installs the channel subsystem + data callbacks.

Author
Douglas Quigg (dstroy0)
Date
2026

Definition in file ssh_sftp.h.