Run script from file?

Hi,
i want to ask if there is a possibility to run script which was uploaded through ftp.
This is quite huge file and using winbox i cannot do this…

/import <filename>

is there any way to insert file content into existing script?
(something like “/ip address add < filename”)

$ ssh -l admin 10.0.0.1 /ip address add address=$address

bash could read from files, too :slight_smile:

… so I need another machine with linux inside!
I belive it will be secure using ssh :oD but I’m looking for possibility to do it inside routerboard :o(

Having a spare machine with _Linux inside_® is Good Thing ™.

Eugene

may be… but it isn’t exactly what I want…
I have program on win32 machine for sending data to router and need to execute scripts with them… so I have no idea, why should I manage this work with 3 comps :o)

is it possible to export the output of script to a file?
something like /system script scriptname file=filename