Account and File expiration scripts

Please post here if you have problems in using Wing FTP Server.

Account and File expiration scripts

Postby niqbert » Thu Jul 19, 2012 11:12 am

Hi All,

I was wondering how I would create scripts to do the following:

[1] To check the file age across a Domain, and email the users which own files older than XX days with a list of those files in one email. (we use the emailaddress field when accounts are created).

[2] To check if an account wasn't used for XX days and send the account owner an email about their inactivty. Followed by a second script which checks if an account wasn't used for XX +7 days and emails and locks the account.

Anyone would have an idea how I would do this in a LUA script?
So far LUA is new to me and would appreciate some starting up help.
niqbert
 
posts 14
 
joined Mon Jul 11, 2011 1:06 pm

Re: Account and File expiration scripts

Postby FTP » Fri Jul 20, 2012 8:55 am

Maybe you can check out those posts first:

viewtopic.php?f=6&t=229

viewtopic.php?f=6&t=28
FTP
Site Admin
 
posts 1232
 
joined Tue Sep 29, 2009 6:09 am


Return to Support

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests