Skip to main content
FTP Management

Disable the FTP daemon (Pure-FTPd) on a server

Asynchronous Request

Runs the Disable FTP script on a LAMP/LEMP stack server: pure-ftpd is stopped and masked and the FTP firewall rules are removed (port 21, outgoing port 20 and the passive range 50000-50099).

All FTP logins on the server stop working until FTP is enabled again. FTP users are kept in Webdock metadata and on the server, so enabling FTP restores access. Only available on Apache/Nginx (LAMP/LEMP) images, and not while the server is busy with another operation; returns 400 otherwise or when FTP is already disabled.

POST
/servers/{serverSlug}/ftp/daemon/disable
Authorizationstringheaderrequired

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

serverSlugstringrequired

Slug of the server whose FTP daemon is being disabled

Disable FTP daemon request accepted

X-Callback-IDstringheader

CallbackID