Get your free beta license ↗
API operation · files group
GET

/ftp

First published 3 Oct 20260.1.0Unchanged since publication

Get the server's FTP status and connection settings

Who may call it
AdministratorResellerCustomer
Token scope, any of
filesreadall
Answers200 OK

The ftp object reports installed, enabled, active, running, state, require_tls, port, passive_ports, version, and unit. The running value reflects whether ProFTPD responds when UrbeStack can probe it and falls back to process status otherwise. The passive_ports value is a hyphen-separated range. The closed_ports object identifies firewall closures for the FTP port or passive port range and gives the note, since, and id for each matching rule.

UrbeStack installs the Linux distribution's ProFTPD package on request and manages its configuration and service unit. FTP supports explicit TLS on port 21 using UrbeStack's certificate. TLS is required unless ftp.require_tls is off.

Customers can sign in with their UrbeStack username and password. The session is rooted at the customer's container and starts in the home directory, with the same filesystem view as SFTP. An FTP account has its own login in the form <name>@<domain> and is confined to a directory in the customer's home. Every FTP session runs with the customer's permissions.

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/ftp" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "ftp": {
    "active": true,
    "enabled": true,
    "installed": true,
    "passive_ports": "text",
    "port": 8443,
    "require_tls": true,
    "running": true,
    "state": "up",
    "unit": "text",
    "version": "0.0.1"
  }
}

Errors

1 error, each a status and a sentence
401Authentication required
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/api/get-ftp/