Page 1 of 1

Account and File expiration scripts

Posted: Thu Jul 19, 2012 11:12 am
by niqbert
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.

Re: Account and File expiration scripts

Posted: Fri Jul 20, 2012 8:55 am
by FTP
Maybe you can check out those posts first:

http://www.wftpserver.com/bbs/viewtopic.php?f=6&t=229" rel="nofollow

http://www.wftpserver.com/bbs/viewtopic.php?f=6&t=28" rel="nofollow