Go Back   FlashFXP Forums > ioFTPD Forum > ioFTPD > Scripting > ! Requests

! Requests Need a script or some sort of cool .bat file ? Ask here!

Reply
 
Thread Tools Rate Thread
Old 08-15-2005, 08:56 AM   #1
Junior Member
 
Join Date: Aug 2005
Posts: 22
Default limit HD space

I'm looking for a script where I can set the space I want to use for ioFTPD

example:

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.

thanks in advance.
brood is offline   Reply With Quote
Old 08-15-2005, 09:50 AM   #2
Junior Member
 
Join Date: Aug 2005
Posts: 3
Default space limits

I have a similar question.

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.

I'm relatively new to ioFTPD, so it might be possible that there are ways to configure ioFTPD to do these things, without using scripts. If so, I would be very happy to learn how.

Thanks!
argos is offline   Reply With Quote
Old 08-15-2005, 04:51 PM   #3
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 113
Default

ioFTPD doesn't allow it by itself... you must get a script for this.
esmandil is offline   Reply With Quote
Old 08-15-2005, 06:00 PM   #4
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,364
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
Old 08-16-2005, 04:27 AM   #5
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 500
Default

My personal preference for limiting capacity is to partition.
With the tools available these days (personally a fan of acronis, but theres lots to choose from) its very easy and safe.
EwarWoo is offline   Reply With Quote
Old 08-24-2005, 06:58 PM   #6
Banned
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 7
Default

ioFLIMIT by badaas @ http://c0d3.us
badaas is offline   Reply With Quote
Old 01-07-2006, 04:42 AM   #7
Junior Member
 
Join Date: Jan 2006
Posts: 3
Default

Forgive for my English.
But this theme is very actual. Whether there are any scripts for restriction of a place of personal folders for users?

in ioFLIMIT by badaas @ http://c0d3.us - Access denied
Demonic is offline   Reply With Quote
Old 01-07-2006, 08:10 AM   #8
Senior Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Mar 2005
Posts: 101
Default

This is what I`ve been looking for aswell. Thanks baddass
PaRaNoiD_JaCK is offline   Reply With Quote
Reply
Create a free account to browse our forums without ads



Thread Tools
Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 01:31 PM.