Go Back   FlashFXP Forums > > > >

bounty's scripts BQUOTA, NEWDIR, BTRIAL, OCSCRIPT, VERSION SCRIPT, IMDB.TCL

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-13-2004, 02:57 AM   #1
Coffee
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 100
Default

any way of excluding certain sections in quota?

greetz
Coffee is offline   Reply With Quote
Old 02-13-2004, 12:21 PM   #2
bounty
Senior Member
ioFTPD Scripter
 
Join Date: Aug 2002
Posts: 529
Default

Quote:
Originally posted by Coffee
any way of excluding certain sections in quota?

greetz
eheh are you kidding ?
bounty is offline   Reply With Quote
Old 02-21-2004, 03:26 PM   #3
Coffee
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 100
Default

uh no, i wanna exclude the request dir, but dunno how to do it

greetz
Coffee is offline   Reply With Quote
Old 02-22-2004, 03:34 AM   #4
alturismo
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Nov 2001
Posts: 265
Default

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
alturismo is offline   Reply With Quote
Old 02-23-2004, 03:27 AM   #5
Coffee
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 100
Default

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
Coffee is offline   Reply With Quote
Old 02-23-2004, 02:18 PM   #6
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

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...
Mouton is offline   Reply With Quote
Old 02-24-2004, 04:24 AM   #7
Coffee
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 100
Default

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
Coffee is offline   Reply With Quote
Old 02-24-2004, 04:32 PM   #8
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

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.
Mouton is offline   Reply With Quote
Old 02-24-2004, 04:54 PM   #9
alturismo
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Nov 2001
Posts: 265
Default

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
alturismo is offline   Reply With Quote
Reply

Tags
dir, excluding, greetz, quota, sections

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
Does FlashFXP Support SFTP Sites? Yes it does Pennix General Discussion 18 09-28-2008 11:58 AM


All times are GMT -5. The time now is 04:28 AM.

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