Script to update RouterOS after X days of release

Use httpS

MikroTik is changing the urls for the new v7.10+ versions and also for latest v6:

Long term:
https://upgrade.mikrotik.com//routeros/NEWESTa7.long-term
(at time I write: “0.00\n” no long-term version)

Stable:
https://upgrade.mikrotik.com//routeros/NEWESTa7.stable
(at time I write: “7.13 1702545848\n”)

Testing:
https://upgrade.mikrotik.com//routeros/NEWESTa7.testing
(at time I write: “7.14beta3 1702985489\n”)

Development:
https://upgrade.mikrotik.com//routeros/NEWESTa7.development
(at time I write: “7.14beta3 1702985489\n”)

I update previous scripts for reflect the change.