Trial&Quota

From DrFTPD

Jump to: navigation, search

To enable, add the plugin to the approperiate part in drftpd.conf.

The plugin uses the creation time to determine whether user is in unique period or not, you can change the creation time using site change <user> created

This plugin uses unique periods, here's an example of monthly quota for user bob:

  • jan 19 - user is added
  • feb 19 - users unique period is over, user is now in bonus period (ALUP is used to calculate how much user has uploaded)
  • feb 1 - user is now in normal quota
  • mar 1 - user continues normal quota

valid actions are:

  • delete - deletes user.
  • purge - deletes and purges user.
  • setgrp - sets users primary group, much like site change <user> group <group> does.
  • chgrp - changes users secondary group, much like site chgrp <user> <group> does, can contain multiple groups separated by space as argument.
Personal tools
SourceForge.net Logo