Upload File
upload_fileUpload text files to MikroTik routers via FTP, overwriting existing files. Validate FTP connectivity with dry-run mode.
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 |
|---|---|---|---|
| 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. |