_SftpServerSession Struct Reference

SFTP session. More...

#include <sftp_server.h>

Data Fields

SftpServerSessionState state
 Session state. More...
SftpVersion version
 SFTP protocol version. More...
 SFTP server context. More...
 Underlying SSH channel. More...
 Root directory. More...
 Home directory. More...
uint32_t requestId
 Request identifier. More...
error_t requestStatus
 Status of the request. More...
 File pointer. More...
size_t dataLen
 Length of the data payload. More...
uint8_t buffer [SFTP_SERVER_BUFFER_SIZE]
 Memory buffer for input/output operations. More...
size_t bufferPos
 Current position in the buffer. More...
size_t bufferLen
 Actual length of the buffer, in bytes. More...
size_t totalLen
uint32_t handle
 File or directory handle. More...

Detailed Description

SFTP session.

Definition at line 219 of file sftp_server.h.

Field Documentation

◆ buffer


Memory buffer for input/output operations.

Definition at line 231 of file sftp_server.h.

◆ bufferLen

size_t bufferLen

Actual length of the buffer, in bytes.

Definition at line 233 of file sftp_server.h.

◆ bufferPos

size_t bufferPos

Current position in the buffer.

Definition at line 232 of file sftp_server.h.

◆ channel

SshChannel* channel

Underlying SSH channel.

Definition at line 224 of file sftp_server.h.

◆ context

SFTP server context.

Definition at line 223 of file sftp_server.h.

◆ dataLen

size_t dataLen

Length of the data payload.

Definition at line 230 of file sftp_server.h.

◆ file

FsFile* file

File pointer.

Definition at line 229 of file sftp_server.h.

◆ handle

uint32_t handle

File or directory handle.

Definition at line 235 of file sftp_server.h.

◆ homeDir

Home directory.

Definition at line 226 of file sftp_server.h.

◆ requestId

uint32_t requestId

Request identifier.

Definition at line 227 of file sftp_server.h.

◆ requestStatus

error_t requestStatus

Status of the request.

Definition at line 228 of file sftp_server.h.

◆ rootDir

Root directory.

Definition at line 225 of file sftp_server.h.

◆ state

Session state.

Definition at line 221 of file sftp_server.h.

◆ totalLen

size_t totalLen

Definition at line 234 of file sftp_server.h.

◆ version

SftpVersion version

SFTP protocol version.

Definition at line 222 of file sftp_server.h.

The documentation for this struct was generated from the following file: