Account and File expiration scripts

Please post here if you have problems in using Wing FTP Server.
Post Reply
niqbert
Posts: 18
Joined: Mon Jul 11, 2011 1:06 pm

Account and File expiration scripts

Post 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.
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Account and File expiration scripts

Post 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
Post Reply