PDA

View Full Version : Email notification in ftp



veereshy
12-Feb-2014, 12:52
Hi,

I have an ftp server,i want to configure mail notification for the ftp ,when ftp user upload or download file or folder.plz help me in this.thanks in advance


Regards
Veeresh.Y

jmozdzen
12-Feb-2014, 13:07
Hi Veeresh.Y,

Hi,

I have an ftp server,i want to configure mail notification for the ftp ,when ftp user upload or download file or folder.plz help me in this.thanks in advance

from what I can tell, the easiest way would be to monitor the xferlog of the FTP server via some program (i.e. shell script in a read loop on the file) and more or less intelligently send emails based on the logged entries.

You should define your rule set properly in advance - when exactly you want to send an email, to whom... or you'll generate a flood of emails (DOS attack vector!)

Regards,
Jens