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

ParamRequiredDescription
hostYesFTP hostname
pathYesDirectory or file path
portNoDefault 21
usernameNoFTP user (anonymous if omitted)
passwordNoFTP 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