Go Back   FlashFXP Forums > > > >

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

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-12-2004, 06:06 PM   #1
SunnyDee
Junior Member
 
Join Date: Dec 2003
Posts: 6
Default [REQ] Disk Quota

Hya everyone!
I was wondering if a per user disk quota script can be made.
To clarify, this what should look like:


[L] 230-User xxx has group access to: XXX
[L] 230-OK. Current restricted directory is /
[L] 230-x files used (0%) - authorized: xxxx files
[L] 230 xxx Kbytes used (x%) - authorized: xxxxx Kb

Now that would rock!
SunnyDee is offline   Reply With Quote
Old 04-12-2004, 06:25 PM   #2
tuff
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 277
Default

is it just me, does that make sense to anyone?
__________________
#iotools #ioftpd (both on efnet)
tuff is offline   Reply With Quote
Old 04-12-2004, 06:36 PM   #3
SunnyDee
Junior Member
 
Join Date: Dec 2003
Posts: 6
Default

Quote:
Originally posted by tuff
is it just me, does that make sense to anyone?
humm, makes sense to me
SunnyDee is offline   Reply With Quote
Old 04-12-2004, 06:42 PM   #4
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

sounds like all those well known free hosting companies where u can sign up and get like 10 or 25mb free or so... makes sense if he's using ioFTPD to something like that, otherwise not.
wooolF[RM] is offline   Reply With Quote
Old 04-13-2004, 05:32 AM   #5
SunnyDee
Junior Member
 
Join Date: Dec 2003
Posts: 6
Default

Quote:
Originally posted by wooolF[RM]
sounds like all those well known free hosting companies where u can sign up and get like 10 or 25mb free or so... makes sense if he's using ioFTPD to something like that, otherwise not.
Hey wooolF[RM], how did u guess it. It is true, id like to set my customers predefined limits they cannot cross.
This would make ioftpd much appetitive to people using it as a commercial server other than a warez one. All im saying it would be a huge bonus and make some companies use ioftpd
SunnyDee is offline   Reply With Quote
Old 04-13-2004, 06:18 AM   #6
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

How strict would u like to enforce the quota ?
Say the quota is 25MB, and the guy got 10MB of files in his dir, and he starts uploading a 20MB file... Only when he's done we would see it's over the 25MB.
What would u do then ? Just wipe the 20MB file he just uploaded and tell him he was over-quota with it ?

Would be pretty easy to do...
Modify_Stats_On_Delete = true
And simply check ALLUP stats when a file is uploaded. If ALLUP > quota, then he's over quota. Otherwise, he's ok.
a 5 lines itcl would do it... a little more if u need exceptions...
Mouton is offline   Reply With Quote
Old 04-13-2004, 08:57 AM   #7
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

Quote:
Originally posted by SunnyDee
Hey wooolF[RM], how did u guess it.
I use one of those free services for some of my projects/stuff... example can be seen if u click on download link in my signature called ioFTPD Wallpaper.

There u can get free subdomain and 25mb with php/mysql for free.
wooolF[RM] is offline   Reply With Quote
Old 04-13-2004, 09:18 AM   #8
SunnyDee
Junior Member
 
Join Date: Dec 2003
Posts: 6
Default

Quote:
Originally posted by Mouton
[B]How strict would u like to enforce the quota ?
Say the quota is 25MB, and the guy got 10MB of files in his dir, and he starts uploading a 20MB file... Only when he's done we would see it's over the 25MB.
What would u do then ? Just wipe the 20MB file he just uploaded and tell him he was over-quota with it ?
Well the idea was such.
I meant to set 100 MB per user in his home directory, if he exceedes the limit the next uploaded file will be automatically deleted.

Awsome would be if the quota could be added sectionwise. E.g in one section usersquota can be bigger/smaller than in the other section.
Section Demos : user quota : 1000 mb
Section Samples : user quota : 500 mb

Imma try, but it seems easier to use M$ ftp service

This one tough nut to crack
SunnyDee is offline   Reply With Quote
Old 04-13-2004, 10:16 AM   #9
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

If you register io, i'll make it for u.
Mouton is offline   Reply With Quote
Old 04-13-2004, 05:17 PM   #10
SunnyDee
Junior Member
 
Join Date: Dec 2003
Posts: 6
Default

Quote:
Originally posted by Mouton
If you register io, i'll make it for u.
Kool Thanks Mouton

Dont have paypal tho in this blasted country
Ideas?

Somebody threaten peeps in PayPal Inc to include Estonia for my sake
SunnyDee is offline   Reply With Quote
Reply

Tags
authorized, files, quota, xxx, [l]

Thread Tools
Display Modes 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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow ftp traffice with Winxp SP2 installed neilwr General Discussion 7 01-14-2005 05:31 PM


All times are GMT -5. The time now is 06:17 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)