FTP ⚙️

Section: [FTP]

FTP.Server: list

Each server entry is mapped to an instance of ftp.FTPServerConfig

Represents a list of FTP server configuration sections. For guidance on specifying a list of configuration sections, refer to the general configuration documentation: Array Tables.

Each server entry supports the following configuration attribute:

Server.Port: int

Linked to ftp.FTPServerConfig.ftp_port

Specifies the port number for the FTP server. This attribute is required and must be explicitly defined.

Python Config

class ftp.FTPServerConfig

Configuration class for entries under FTP.Server

Represents the configuration for a single FTP server instance. Currently, the FTP server implementation is minimal, and only the port number is configurable.

ftp_port: int

Corresponds to FTP.Server.Port

Default Configuration

FTP configuration section (default values)
1# only one server on port 21
2[[FTP.Server]]
3Port = 21