Script to transfer Files from one router to the other

Hi@all,

for redudancy reasons we try to transfer usermanagement-backup files from on router to the other. For the backup of the database file and also for the import i have scripts and all works fine. But is it also possible to transfer files from one router to the other by using a script. I only know that is possible to sending the files by email or ftp-downlaod/upload by an external PC with FTP Client but what i need is a direct transfer fron router A to B.

rg,
maxeschm

In v5 it is possible with /tool fetch


/tool fetch upload=yes address=10.5.101.1 mode=ftp password=“”
user=“admin” src-path=ca.crt dst-path=ca.crt

Thx a lot for help.

Hello,
it is also possible to check the content of the remote MT file section and than fetch just the unfounded files?

Let me explain:
I would like to copy different files from my AP to all the clients when they are connected. First I would to check if the files are there, second copy all the files with just one command and not different fetch command because i don’t want to create a fetch script for any single file.

Is it possible to use special characters such as * ?

Thanks
Federico