Thread: limit HD space
View Single Post
Old 08-15-2005, 06:00 PM  
neoxed
Too much time...
 
Join Date: May 2003
Posts: 1,326
Default

Quote:
Originally Posted by brood
My HD is 200gb, but I want to use only 50gb for iftpd. So when it reaches the 50gb, the users cant upload anymore. So it have to let ioFTPD think there is only 50gb of space instead of 200gb.
Use the quota functionality that's built into Windows, although the drives will have to be NTFS.

Quote:
Originally Posted by argos
On my site, users can upload only in their homedir and in pub/incoming.
1) I want to give each user a space limit of, say, 10 mb in their homedir, much in the same way as e-mail accounts are space limited.
2) I want to limit the total capacity of the incoming directory to e.g. 5 Gb.
3) I want users to be unable to upload any data at all if there is less than 500 Mb of free space on my hard disk.
For point 3, Mouton wrote a simple script which is available on the old script page (I guess he hasn't reposted it, yet).

http://oldsite.ioftpd.com/scripts/script.php?id=43

As for points 1 and 2, I'm not aware of any script which provides this functionality.
neoxed is offline   Reply With Quote