Would it be possible to add events/triggers at a user rather than a domain level? Maybe have another tab under edit user, which would allow you to add one of more event rules, maybe even allow one rule to be spread over multiple events (upload by ftp,http,ssh - fire rule 1.....)

I was just thinking about how dealing with these rules could be improved. At the moment you have to open each of the events you want script seperately and put conditional statements in for each user.

It would make sense to control event scripting etc by each user - so you could just look at an event managment tab on the user window and say add an event like email me a message and be able to select one or more event listeners - like ftp file uploads and http file uploads. It then makes it clearer to audit the events attached to each user (rather than unpicking http upload event lua code for multiple users then doing the same for ftp upload lua code etc.

local user = c_GetUser("%Domain","%Name") local user_email = user.note_email if user_email ~= nil and user_email ~= "" then c_SendMail(user_email,"a file has been uploaded","%Name uploaded into %PathName","","SMTP_CONFIG") end

local user = c_GetUser("%Domain","%Name") local user_email = user.note_email if user_email ~= nil and user_email ~= "" then c_SendMail(user_email,"a file has been uploaded","%Name uploaded into %PathName","","SMTP_CONFIG") end

Hey,

can you give me an complete example? I don`t know what you mean with ~ or nil .. Sorry, today is my first day with Wing FTP.

local user = c_GetUser("%Domain","%Name") local user_email = user.note_email if user_email ~= nil and user_email ~= "" then c_SendMail(user_email,"a file has been uploaded","%Name uploaded into %PathName","","FTP-Server") end