'Does anyone know how to enable mikrotik router FTP using Perl script?
my %attrs = ("/ip/service/enable" , "=ftp")
($retval,@results) = Mtik::mtik_cmd(\%attrs);
or
($retval,@results) = Mtik::mtik_cmd('/ip/service/enable ftp' , \%attrs);
Both of these aren't working, im very new at perl so forgive me if its suppose to be simple. Trying to enable FTP in the mikrotik router using my API function in my perl script.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|