Methods for reading and updating a FolderHarbor server's configuration
Edits the server's configuration.
The config settings to change
config:edit
If your session is invalid, expired, or for a locked account
If you don't have permission to take this admin action
If anything else went wrong, either in the process of requesting, or in the response from the server
await client.admin.config.edit({ ftp: { enabled: true, ssl: true }, failedLoginLimit: 5}); Copy
await client.admin.config.edit({ ftp: { enabled: true, ssl: true }, failedLoginLimit: 5});
Gets the server's current configuration.
The current configuration of the server
config:read
const config = await client.admin.config.read(); Copy
const config = await client.admin.config.read();
Methods for reading and updating a FolderHarbor server's configuration