Skip to main content
FTP Management

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

Asynchronous Request

Runs the Enable FTP script on a LAMP/LEMP stack server: the FTP firewall rules are re-opened (port 21, outgoing port 20 and the passive range 50000-50099) and pure-ftpd is unmasked and started.

This re-exposes FTP to the internet, which is a frequent brute-force target, so only enable it if FTP is actually needed. 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 enabled.

POST
/servers/{serverSlug}/ftp/daemon/enable
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 enabled

Enable FTP daemon request accepted

X-Callback-IDstringheader

CallbackID