Upload File
upload_fileUpload text files to MikroTik routers via FTP, overwriting existing files. Supports dry-run for connectivity testing.
Instructions
Upload a text file to a MikroTik router via FTP using the router's credentials. Overwrites any existing file with the same name. Requires FTP permission on the router user — see config/routers.example.yaml for setup instructions. Supports dry-run (tests FTP connectivity only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routerId | Yes | Target router identifier from the router registry | |
| 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 |