Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th January 2010, 05:52
phall472 phall472 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default How To control Pure-ftpd-mysql max size

Hello

Now that my pure-ftpd-mysql is final up and running with virtual ftp for each client, how does the system keep track of the max quota available to each client?

Example: If a client is given 500 MB quota. The client is uploading files and deleting files every day. Does mysql keep track of the deletions or just keeps track of the uploads?

I have noticed a system file in the virtual ftp folder called .ftpquota this seems to store the number of bytes uploaded. It does not seem to recognize any deletions. I went in and uploaded a single file 21 Bytes and then I deleted the file and I uploaded it again. The .ftpquota had 42 in it instead of only 21.

If this is the way it works, does any one know of any other ftp software that would keep track of both uploads and deletions so the account would hold the net size.

This is to be used like www.mozy.com, an online file backup service witha maximum net size allowed.

Thank you
Reply With Quote
Sponsored Links
  #2  
Old 11th January 2010, 15:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
 
Default

It keeps track of the currently used space on the hard disk. If files get deleted, this increases the free space.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 14:58
Management/system config/settings & /server/settings not working!! dactor Installation/Configuration 9 6th February 2008 10:11
LAMP System Fedora Core 6 MySQL start error gavino HOWTO-Related Questions 13 21st November 2007 20:13
Webmin docs missing namit Server Operation 11 5th January 2006 10:51
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 17:04


All times are GMT +2. The time now is 06:54.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.