bounty's scripts BQUOTA, NEWDIR, BTRIAL, OCSCRIPT, VERSION SCRIPT, IMDB.TCL |
02-13-2004, 02:57 AM
|
#1
|
Senior Member
FlashFXP Registered User ioFTPD Foundation User
Join Date: Jun 2003
Posts: 100
|
any way of excluding certain sections in quota?
greetz
|
|
|
02-13-2004, 12:21 PM
|
#2
|
Senior Member
ioFTPD Scripter
Join Date: Aug 2002
Posts: 529
|
Quote:
Originally posted by Coffee
any way of excluding certain sections in quota?
greetz
|
eheh are you kidding ?
|
|
|
02-21-2004, 03:26 PM
|
#3
|
Senior Member
FlashFXP Registered User ioFTPD Foundation User
Join Date: Jun 2003
Posts: 100
|
uh no, i wanna exclude the request dir, but dunno how to do it
greetz
|
|
|
02-22-2004, 03:34 AM
|
#4
|
Senior Member
FlashFXP Registered User ioFTPD Foundation User
Join Date: Nov 2001
Posts: 265
|
if you want to exclude a section, u have to make sep. sections
in ioFTPD itself (.ini),
so section 0 would be your regular sections
SEC1 = 0 /SEC1/*
SEC2 = 0 /SEC2/*
SEC3 = 0 /SEC3/*
REQUEST = 1 /REQUEST/*
DEFAULT = 0 *
this way now /REQUEST is a sep section (ratio, etc,..)
now in init.itcl
set bquota(SECTIONS) "0:<whatever.name>:<amount>"
will only count quota for section 0, so section 1 /REQUEST
will be ignored for quota
|
|
|
02-23-2004, 03:27 AM
|
#5
|
Senior Member
FlashFXP Registered User ioFTPD Foundation User
Join Date: Jun 2003
Posts: 100
|
k, not really what i'm looking for, so hope that bounty can do an update to just exclude the request folder. Or any folder users like.
greetz
|
|
|
02-23-2004, 02:18 PM
|
#6
|
Posse Member
Ultimate Scripter ioFTPD Administrator
Join Date: Dec 2002
Posts: 1,956
|
ioFTPD sections feature is used for that. Why would u need something else ? U say it's not exactly what you want, but u don't explain what's different in what you want and what sections offers.
fyi, script can't explude dirs from stats if you didn't make a separate stats section. ioFTPD store stats information per section, so to exclude a specific dir without using sections, the script would have to catch EACH upload and check the filesize and substract stats from the right stats section...
|
|
|
02-24-2004, 04:24 AM
|
#7
|
Senior Member
FlashFXP Registered User ioFTPD Foundation User
Join Date: Jun 2003
Posts: 100
|
k, thx for the answers.
other trial script from snype has the abbility to exclude a certain folder. I just leave it like this.
greetz
|
|
|
02-24-2004, 04:32 PM
|
#8
|
Posse Member
Ultimate Scripter ioFTPD Administrator
Join Date: Dec 2002
Posts: 1,956
|
I think that snype's iotrial does indeed what i just said, counting on each file upload...
kinda un-efficient, but i guess some ppl don't care about effiency.
that's just a guess. never checked how ioTrial worked.
|
|
|
02-24-2004, 04:54 PM
|
#9
|
Senior Member
FlashFXP Registered User ioFTPD Foundation User
Join Date: Nov 2001
Posts: 265
|
also might consider ioTRiAL doesnt count deleted files
nor nukes, etc ...
due its using its own stats instead of real section(s)
and that isnt (at least wasnt) implented in latest php version
so you can decide what you prefer
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:13 PM.
|