Upload File
upload_fileUpload a text file to a router, overwriting existing files. Uses encrypted SFTP with FTP fallback. Dry-run tests connectivity.
Instructions
Upload a text file to a router, overwriting any existing file of the same name. Prefers SFTP (encrypted, over SSH) and falls back to plaintext FTP if SFTP is unavailable. Requires SSH (or FTP) access for the router user. Dry-run tests connectivity only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Target filename on the router (e.g. flash/my-script.rsc) | |
| dryRun | No | Validate FTP connectivity without writing the file | |
| content | Yes | File content to upload (text) | |
| routerId | No | Router ID; omit to use the default router. |