Aim : To receive a note via mail every time an authorised user makes an FTP access to a site area and changes the area, be it by up/downloading or cancelling files.
I am not well versed in Perl at all I was wondering if there is a link or tutorial pertaining to the following problem, which I immagine result as child's play to many readers here.
Using perhaps a Cron job, run a script that compares an FTP Directory listing to the preceding listing.
If no differences
exit leaving the 'preceding listing' as a base
else pipe difference to a string = message
recurse till end listing
mail message to mail address
update = overwrite base listing with current
exit
The reason for this question is that if one works with FTP for exchanging data the FTP server does not usually alert the Site Owner of the upload, download or cancel events and thus one is obliged to login and check the current situation. (or worse ... telephone)
I have spoken to several Web Server Adminstrators and it seems that they think Perl is the way.
Any comments, ideas or links would be most appreciated.
Thanks
I am not well versed in Perl at all I was wondering if there is a link or tutorial pertaining to the following problem, which I immagine result as child's play to many readers here.
Using perhaps a Cron job, run a script that compares an FTP Directory listing to the preceding listing.
If no differences
exit leaving the 'preceding listing' as a base
else pipe difference to a string = message
recurse till end listing
mail message to mail address
update = overwrite base listing with current
exit
The reason for this question is that if one works with FTP for exchanging data the FTP server does not usually alert the Site Owner of the upload, download or cancel events and thus one is obliged to login and check the current situation. (or worse ... telephone)
I have spoken to several Web Server Adminstrators and it seems that they think Perl is the way.
Any comments, ideas or links would be most appreciated.
Thanks