Skip to content

CLI documentation ​

Upload, download, list and remove files over FTP, FTPS or SFTP from a terminal. Save connection settings in YAML and select the operation with a command. The CLI is optional; the API works without it.

Get a first result ​

Start with the CLI quick start: install the CLI and a protocol client, create a connection file, list the server, then transfer one small file. No source checkout is required. Without a server account, use the local CLI demos.

Choose a command ​

TaskGuideDirection
Send a fileuploadHost source → server destination
Save a filedownloadServer source → host destination
Inspect a directorylistRead entries on the server
Remove a selected file or treeremoveDelete the selected server path

Each guide shows the command, example output, overwrite defaults and failure behavior. Terminal commands are shared across JavaScript/TypeScript projects, so they use shell tabs where syntax differs rather than programming-language tabs.

Configure and automate ​

Use configuration for credentials, verified host trust, roots and YAML defaults. Use output and exit codes and shell scripting for automation. If a command fails, start with troubleshooting.

Reference and boundaries ​

Look up every flag or command behavior. To call the command runner from Node.js, see embedding.

The CLI has file-transfer commands. SSH execution is documented in the SSH API; key inspection and conversion are documented in Keys.