Upload File
upload_fileUpload a text file to a MikroTik router via FTP, overwriting existing files of the same name. Use dry-run to validate FTP connectivity without writing.
Instructions
Upload a text file to a router via FTP using the router's credentials, overwriting any existing file of the same name. Requires FTP permission on the router user (see config/routers.example.yaml). Dry-run tests FTP connectivity only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routerId | No | Router ID; omit to use the default router. | |
| name | Yes | Target filename on the router (e.g. flash/my-script.rsc) | |
| content | Yes | File content to upload (text) | |
| dryRun | No | Validate FTP connectivity without writing the file |