Class: Config

Config

Represents the current configuration of CompleteFTP server. Instances of this class should be obtained using system.getConfig.

IMPORTANT! No changes are made to the configuration until applyChanges is called, otherwise you will wonder why nothing works.

Members

folders :FolderManager

Provides the APIs for managing CompleteFTP folders.

Type:

groups :GroupManager

Provides the APIs for managing CompleteFTP groups.

Type:

passwordPolicy :PasswordPolicy

Contains information about the password-related settings that control how users' passwords are dealt with.

Type:

sites :Array.<Site>

A list of all CompleteFTP sites.

Type:

users :UserManager

Provides the APIs for managing CompleteFTP users.

Type:

Methods

applyChanges()

Applies changes to the CompleteFTP server.