Command-Line Administration (Admin CLI)

CompleteFTP includes a modern command-line interface for administering the server, available in all editions. The completeftp command, run on the Windows or Linux server host, exposes the server's entire configuration through a familiar git- and openssl-style set of subcommands, which makes it well suited to scripting and automation.

The whole server, from the command line

The CLI covers every area of the server, including users, groups, folders, sites, web apps, extensions, triggers, notifications, monitoring, and licensing, with over 100 commands in all. Each area follows the same pattern of show, set, add, remove, and list subcommands, so once you know one area you know them all. For example, completeftp user add fred adds a user, and completeftp user set fred sftpEnabled=true enables SFTP for them.

The CLI is currently invoked from the server host. On Linux it is available by default; on Windows it is enabled with a single change to the service's arguments. The same administration channel powers CompleteFTP's AI assistant administration, which exposes these same commands to an AI assistant.

Read more in the CompleteFTP User Guide.