I’m trying to make the dyndns script to work. It doesn’t work. It creates the file but does not get the file contents. I’m using routeros 6 so I don’t know if it has some weird bug on /file.
The mechanism is apparently only for small configuration data that can be read in a single read call.
(in fact it can search for something in the file and return the matching data, still in a single read)
What you would require is a more generic mechanism that.
opens a file and returns a file handle
reads the file line by line (handle is a parameter, one line is stored in a variable)