# POST /ftp/install

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

UrbeStack release 0.2.35 API operation in the files group.

Queue installation of the FTP service

- Who may call it: administrator
- Token scope, any of: files, all
- Answers: 202 Accepted

An administrator can queue an ftp-install job. The API returns 202 with the queued job in the job field. The job installs ProFTPD, generates the UrbeStack configuration, and starts the FTP service.

## As a command

- [urbestack-ftp-install](https://urbestack.com/docs/commands/urbestack-ftp-install.md): Installs and starts ProFTPD using UrbeStack's configuration.

## 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 POST "$API/ftp/install" \
  -H "Authorization: Bearer $TOKEN"
```

Response, 202 Accepted:

```
{
  "job": {
    "created_at": "2026-09-09T10:15:00Z",
    "created_by": 1,
    "created_by_name": "text",
    "dismissed_at": "text",
    "finished_at": "2026-09-09T10:15:04Z",
    "id": 1,
    "lane": "short",
    "log": "",
    "params": {},
    "progress": 100,
    "result": {},
    "started_at": "2026-09-09T10:15:01Z",
    "status": "queued",
    "type": "rebuild",
    "usual_seconds": 1
  }
}
```

## Errors

- 400: A new job is queued or running
- 400: Invalid <what>: 
- 400: Invalid username: 2 to 32 lowercase letters, digits or underscores, starting with a letter
- 400: Job parameters must be an object
- 400: Unknown job type
- 400: Username '<value>' is reserved
- 401: Authentication required
- 404: User '<user>' not found
