How to read file by line? Then i read contents to variable - variable is empty. File size is 5kB (attached).
:global content [/file get “ru.txt” contents] ;
:put $content
:put [/file get ru.txt size]
5174
RouterOS 6.37.3
tried this http://forum.mikrotik.com/t/read-and-write-a-file-txt/47419/1 , http://forum.mikrotik.com/t/reading-text-file-line-by-line-not-working-correctly-in-wiki/58754/1 and more from google
ru.txt (5.05 KB)