To write a script in php to do:
I have around 10 FTP, what the script should do is to log in to each of them and , check the count of files on each directory and submit it to the database, and once done that it should send a summery mail like:
from X FTP
DATE: COUNT of FILES
from Y FTP
DATE: COUNT of FILES
and the date format of the directory is like YYYYMMDD, you should use phpmail script which is opensource you should only develop the log in checking the count of files and do the entry, once that is done I will put that in crontab to check those files.