I need script to send newest file via email and delete the file. The new file is uploaded every 3 hours. The problem is that every time file has new name. I know how to send file with specific name, but not when file name is changing.
How is the file uploaded to the Router?
Why does it change name?
Can not the file be sent directly from the uploader instead of going through the Router?
\
Use Splunk> to log/monitor your MikroTik Router(s).--> MikroTik->Splunk ![]()
Backup config to Gmail -->Backup
Block users that tries ut use non open ports -->Block][/b]
It uploaded via FTP from CCTV camera, every time is different name because of timestamp. It cant be send from CCTV camera via email.
only timestamp without no any fixed parts?
like cam4_20230212.jpg
YOU MUIST PROVIDE DETAILS EVERYTIME.
It’s a – having to do interviews all the time for the most trivial questions.
For example: provide some real names.
it has fixed part, for example test_110220232305.jpg
After sending im deleting that file