Community discussions

MikroTik App
 
punkaker
just joined
Topic Author
Posts: 13
Joined: Thu Apr 12, 2018 7:26 pm

Script for copying one file to Multiple Routers (FTP)

Fri Oct 04, 2019 1:40 pm

Hi,

I have to copy to approximately 500 Mikrotik routers a new certificate file and I am looking the way to automatize this procedure so I don´t have to go one by one.

I am thinking about using a Mikrotik script for that purpose, and to copy the file from a CHR tunnelizer that has secure tunnels with all those 500 routers.

My idea is to have the IP addresses of all destination routers in a text file such as "server-IPs.txt", so the script can read the addresses from that file and make the 500 FTP connections using a FOR or similar.. All routers have the same username and password.

I guess that is not a difficult issue but I have not experience in scripting. Any help here will be much appreciated!

Thanks in advance

Who is online

Users browsing this forum: No registered users and 36 guests