The problem is, that some addres list have more than 500 ip addresses - and the script do not start.
With the list for example about 50 ip addresses, the script works ok.
Did anybody resolve problem with the limit: “Note: This only works with files under 4096 characters in size due to the variable size limit in v3 hopefully they will re-introduce the LUA system in v4 shortly so we can make this work with any size list.” ?
The way I solve the problem is to download a file like that using linux, and use a bash script to manipulate the data and output a properly formatted import-able .rsc file that would look something like this:
import.rsc
ip firewall address-list
add list=MyList address=1.1.1.1
add list=MyList address=2.2.2.2
add list=MyList address=3.3.3.3
etc…Then, upload the file to the router via FTP (or use fetch from the router) and use a RouterOS script to import it:
/ip firewall address-list remove [find list=MyList]
/import import.rscA similar example can be found here: http://forum.mikrotik.com/t/script-array-for-ip-arp-interface/69788/1