FtpServerSettings Struct Reference

FTP server settings. More...

#include <ftp_server.h>

Data Fields

OsTaskParameters task
 Task parameters. More...
 
NetInterfaceinterface
 Underlying network interface. More...
 
uint16_t port
 FTP command port number. More...
 
uint16_t dataPort
 FTP data port number. More...
 
uint16_t passivePortMin
 Passive port range (lower value) More...
 
uint16_t passivePortMax
 Passive port range (upper value) More...
 
Ipv4Addr publicIpv4Addr
 Public IPv4 address to be used in PASV replies. More...
 
uint_t mode
 Security modes. More...
 
uint_t maxConnections
 Maximum number of client connections. More...
 
FtpClientConnectionconnections
 Client connections. More...
 
char_t rootDir [FTP_SERVER_MAX_ROOT_DIR_LEN+1]
 Root directory. More...
 
FtpServerConnectCallback connectCallback
 Connection callback function. More...
 
FtpServerDisconnectCallback disconnectCallback
 Disconnection callback function. More...
 
FtpServerTlsInitCallback tlsInitCallback
 TLS initialization callback function. More...
 
FtpServerCheckUserCallback checkUserCallback
 User verification callback function. More...
 
FtpServerCheckPasswordCallback checkPasswordCallback
 Password verification callback function. More...
 
FtpServerGetFilePermCallback getFilePermCallback
 Callback used to retrieve file permissions. More...
 
FtpServerUnknownCommandCallback unknownCommandCallback
 Unknown command callback function. More...
 

Detailed Description

FTP server settings.

Definition at line 350 of file ftp_server.h.

Field Documentation

◆ checkPasswordCallback

FtpServerCheckPasswordCallback checkPasswordCallback

Password verification callback function.

Definition at line 369 of file ftp_server.h.

◆ checkUserCallback

FtpServerCheckUserCallback checkUserCallback

User verification callback function.

Definition at line 368 of file ftp_server.h.

◆ connectCallback

FtpServerConnectCallback connectCallback

Connection callback function.

Definition at line 363 of file ftp_server.h.

◆ connections

FtpClientConnection* connections

Client connections.

Definition at line 361 of file ftp_server.h.

◆ dataPort

uint16_t dataPort

FTP data port number.

Definition at line 355 of file ftp_server.h.

◆ disconnectCallback

FtpServerDisconnectCallback disconnectCallback

Disconnection callback function.

Definition at line 364 of file ftp_server.h.

◆ getFilePermCallback

FtpServerGetFilePermCallback getFilePermCallback

Callback used to retrieve file permissions.

Definition at line 370 of file ftp_server.h.

◆ interface

NetInterface* interface

Underlying network interface.

Definition at line 353 of file ftp_server.h.

◆ maxConnections

uint_t maxConnections

Maximum number of client connections.

Definition at line 360 of file ftp_server.h.

◆ mode

uint_t mode

Security modes.

Definition at line 359 of file ftp_server.h.

◆ passivePortMax

uint16_t passivePortMax

Passive port range (upper value)

Definition at line 357 of file ftp_server.h.

◆ passivePortMin

uint16_t passivePortMin

Passive port range (lower value)

Definition at line 356 of file ftp_server.h.

◆ port

uint16_t port

FTP command port number.

Definition at line 354 of file ftp_server.h.

◆ publicIpv4Addr

Ipv4Addr publicIpv4Addr

Public IPv4 address to be used in PASV replies.

Definition at line 358 of file ftp_server.h.

◆ rootDir

Root directory.

Definition at line 362 of file ftp_server.h.

◆ task

Task parameters.

Definition at line 352 of file ftp_server.h.

◆ tlsInitCallback

FtpServerTlsInitCallback tlsInitCallback

TLS initialization callback function.

Definition at line 366 of file ftp_server.h.

◆ unknownCommandCallback

FtpServerUnknownCommandCallback unknownCommandCallback

Unknown command callback function.

Definition at line 371 of file ftp_server.h.


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