|
ProtoCore v0.0.2
Deterministic, zero-heap network stack for embedded targets
|
SCP server - the fs::FS binding (PC_ENABLE_SSH_SCP). More...
#include "protocore_config.h"Go to the source code of this file.
SCP server - the fs::FS binding (PC_ENABLE_SSH_SCP).
Binds the pure SCP/RCP codec (services/file_transfer/scp) to an SSH exec "scp …" channel + an Arduino fs::FS mount so a client can drop a file onto the device: scp localfile admin@device:/path. v1 serves the SINK direction (client -> device, scp -t); the SOURCE direction (scp -f, device -> client) is a follow-up - use SFTP get to download. Streamed writes, fixed buffers, no heap beyond the fs layer's file handle. Call pc_ssh_scp_begin() once after pc_ssh_conn_setup().
Definition in file ssh_scp.h.