I want to be able to limit an account to download a total of X GB, then suspend the account. I'm currently using pure-ftpd w/ mysql backend and can't figure out a way to handle this. Ratio seems session-based so it's useless. Logging is also disabled for privacy and security reasons, so parsing logs to manually calculate is also not an option.
Is there a way to achieve this? What daemon can support it?
Edit: Thanks, but no, I want to have bandwidth quota, not filesystem quotas. pure-ftpd also has support for filesystem quotas but that's not it. I want to limit bandwidth usage through FTP, so people can only download a certain amount of data, then be cut off. MySQL just handles the users, limits, etc.. instead of the passwd database.