SftpFileObject Struct Reference

File or directory object. More...

#include <sftp_server.h>

Data Fields

SftpFileType type
 File type. More...
 
SftpServerSession * session
 Pointer to the SFTP session. More...
 
char_t path [SFTP_SERVER_MAX_PATH_LEN+1]
 Path name. More...
 
uint32_t handle
 Opaque value that identifies the file. More...
 
uint64_t size
 Size of the file. More...
 
uint64_t offset
 Offset within the file. More...
 
FsFile * file
 File pointer. More...
 
FsDir * dir
 Directory pointer. More...
 

Detailed Description

File or directory object.

Definition at line 195 of file sftp_server.h.

Field Documentation

◆ dir

FsDir* dir

Directory pointer.

Definition at line 204 of file sftp_server.h.

◆ file

FsFile* file

File pointer.

Definition at line 203 of file sftp_server.h.

◆ handle

uint32_t handle

Opaque value that identifies the file.

Definition at line 200 of file sftp_server.h.

◆ offset

uint64_t offset

Offset within the file.

Definition at line 202 of file sftp_server.h.

◆ path

Path name.

Definition at line 199 of file sftp_server.h.

◆ session

Pointer to the SFTP session.

Definition at line 198 of file sftp_server.h.

◆ size

uint64_t size

Size of the file.

Definition at line 201 of file sftp_server.h.

◆ type

File type.

Definition at line 197 of file sftp_server.h.


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