Skip to main content
FTP Management

Get the FTP daemon (Pure-FTPd) state for a server

Returns whether the Pure-FTPd daemon is enabled on the selected server, as last set through Webdock, and whether it can be toggled at all. This is not a live service probe: it reflects the most recent Enable/Disable FTP action Webdock ran on the server, so it can differ from reality if pure-ftpd was changed manually over SSH.

GET
/servers/{serverSlug}/ftp/daemon
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

serverSlugstringrequired

Slug of the server whose FTP daemon state is being read

Response

application/json

Current FTP daemon state

enabledboolean

True when the FTP daemon is running/enabled as far as Webdock knows. This reflects the last Enable/Disable FTP action Webdock performed on the server; it is not a live service probe, so it can differ from reality if pure-ftpd was changed manually over SSH. Servers which never had FTP toggled through Webdock report true, since pure-ftpd runs by default on all Webdock stacks.

manageableboolean

True when the FTP daemon can be enabled/disabled for this server. Only LAMP/LEMP stack servers (Apache or Nginx images) can be toggled; on other images the enable/disable operations return 400.