Interactive examples

Build a transfer command or TypeScript call

Choose an operation and enter non-secret connection details. The generator follows the public CLI and root package API, but it does not connect to a server, inspect local files, or transmit any value.

Generated example

scp-next upload ./dist /var/www/example \
  --host your-host \
  --username your-username \
  --recursive \
  --dry-run

CLI examples include --dry-run. TypeScript examples read the password from an environment variable, set dryRun: true, and call upload or download from the public root API.