View Full Version : Directory Quotas
iverson0881
05-30-2006, 01:29 AM
Hi,
Is it possible to make directory quotas? For example I have the directory, "helloworld" and I wanted this directory to only have 50MB of space. Is this possible?
Thanks in advance.
page1ink.
05-30-2006, 10:47 AM
are you talking about for an FTP account? or do you have a script that is creating new files or appending to one?
in the first case, when you create the FTP login through CPanel you can specify a quota for each user (or directory).
if you're working with a script it might be a bit more complicated. maybe make the script check the directory's size every time it writes to your file(s), and if it's over 50mb shout out some kind of error or whatever you need it to do.
if I'm completely wrong, post some more details about what you're trying to do so we can understand better =)
iverson0881
06-04-2006, 03:18 AM
Thanks I got it.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.