Skip to main content

Module sftp

Module sftp 

Source
Expand description

SFTP protocol implementation over an SSH subprocess.

Spawns ssh -s sftp and speaks the binary SFTP protocol over pipes. No SSH library needed — uses the system’s ssh binary (keys, config, agent all work).

Structs§

DirEntry
FileAttr
ReconnectingSftp
SftpSession

Enums§

SftpError

Constants§

SSH_FXF_APPEND
SSH_FXF_CREAT
SSH_FXF_EXCL
SSH_FXF_READ
SSH_FXF_TRUNC
SSH_FXF_WRITE

Type Aliases§

SftpResult