Bitnik
1
Hello people…
I’m searching for a script that will every day at time 11:30 will disable ONE or more users from UserList and then at 8:00 am will enable it again !!!

PLZ - Write a full example of script, and how to run it, cose I’m noobie in scripting on MikroTik.
normis
2
just make an ip address list of the users that you want to disable, and then a firewall rule that does action=drop on this list.
you will then have to make a very simple script - one that disables or enabled this firewall rule at a certain time.
Make address list:
/ip firewall address-list add list=drop_traffic address=192.0.34.166/32
Make drop rule:
/ip firewall filter add action=drop chain=forward src-address-list=drop_traffic comment=DROPME
Make script:
system script> add name=drop_users source=/ip firewall filter enable DROPME
Make scheduler rule:
system scheduler> add interval=24h name="drop_users" \
\... start-time=9:00:00 on-event=drop_users
normis
3
not tested, just a loose example !
Bitnik
4
Wow - thx IT REALY WORKS !!!
Here is another small question - is it possible to somehow control users conected to my server With MikroTik trough FTP?
I mean - can I create user that will only be able to connect to FTP and JUST read files from it, not delete or change them ?
normis
5
you mean connect to mikrotik’s ftp? sure, make user with the group that has privileges of only ftp, read. i guess it should work
Bitnik
6
shuld work but - doesnt!
I got MikroTik 2.9.2 and many times tryed to do like you sayd but it really don’t work - I still can delete files from that FTP … Help…
And MOST IMPORTANT QUESTION - CAN I RUN PERL SCRIPTS ON MY MIKROTIK ??? if yes, then HOW and WHERE ? 
maximan
7
Mikrotik it is a router. You can not run perl script. Only built script language is support..
Update to the last version.
Maximiliano Dobladez
MCC
leodand
8
maxi como puedo contactar contigo, para hacerte alguna pregunta en especial del mkt?
maximan
9
my mail is: elmaxi [at] gmail.com
Maxi