Good Day, im pretty new at Perl so forgive me if this is suppose to be simple. Hoping someone here is able to shed some light on how I can enable FTP service in the mikrotik using my perl script. Every syntax Ive tried not working but I know API is logging into the mikrotik fine from my script.
my %attrs = ("/ip/service/enable" , "=ftp");
($retval,@results) = Mtik::mtik_cmd(\%attrs);
Or
($retval,@results) = Mtik::mtik_cmd('/ip/service/enable ftp' , \%attrs);