API documentation
REST API for listing and reading files on remote FTP servers.
Endpoints
GET /api/directory?host=...&path=... GET /api/file?host=...&path=... GET /health
Query parameters
| Param | Required | Description |
|---|---|---|
host | Yes | FTP hostname |
path | Yes | Directory or file path |
port | No | Default 21 |
username | No | FTP user (anonymous if omitted) |
password | No | FTP password |
Example
curl "https://ftp-seer-api.vercel.app/api/directory?host=test.rebex.net&path=."
Related
ftp-seer-client โ Astro web UI ยท API home