# GET /ftp

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the files group.

Get the server's FTP status and connection settings

- Who may call it: administrator, reseller, customer
- Token scope, any of: files, read, all
- Answers: 200 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

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
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

- 401: Authentication required
