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 01-08-2005, 10:48 PM   #1
iam
Senior Member
 
Join Date: Mar 2004
Posts: 289
Default [REQ]-Control.and/or.to.block.abuse.leech

A script to block the big leechers.
to fix a limit by day?/week/month

example:
with 10gb/week or 40gb/month max allowed of leech
if user1 reaches the limit, receive a warning notice (STOP YOUR MASS LEECH !!!) or alternative blocked as far as the following week/month in DL

what think?
iam is offline   Reply With Quote
Old 01-08-2005, 11:04 PM   #2
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default Re: [REQ]-Control.and/or.to.block.abuse.leech

Isn't that weekly credit allotments are for? If you want a different time duration (say monthly), schedule the weeklyset event to run once a month.

Quote:
Quote from ioA's manual:

9. If using weekly allotment this needs to be triggered. To do so,
schedule it to be run whenever wanted. If you want dayly allotment run it each day.
If weekly allotment then once a week and so on.
It sets amount of credits when you run it.

Following example triggers it once a week:
Weekly = 0 0 * 6 EXEC ..\scripts\ioA\ioA.exe WEEKLYSET

site weekly <user/=group> <section>,<MB>
Sets X MB credits for a user to be used. It does not add but sets it to specific value.

Example:
site weekly ioFTPD 0,500 Set ioFTPD 500MB credits
site weekly =ioftpd 0,500 Set ioftpd 500MB credits
site weekly ioFTPD 0,0 Removes allotment for ioFTPD in section 0
site weekly Lists users with allotment
neoxed is offline   Reply With Quote
Old 01-09-2005, 11:09 AM   #3
iam
Senior Member
 
Join Date: Mar 2004
Posts: 289
Default

weekly allotment is not adapted for the account ratios or friends, supply, affils...
And weekly erases the credit.

Me I want a script which restrict the big leechers since a limit fixed for some account.
And the limit increases in according to upload.
iam is offline   Reply With Quote
Old 01-09-2005, 03:39 PM   #4
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default

Quote:
Originally posted by iam
And the limit increases in according to upload.
Is that not just ratio? Just change 'em to 1:2 if they're leeching too much.
EwarWoo is offline   Reply With Quote
Old 01-10-2005, 03:59 PM   #5
JoeBAR
Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 42
Default

One wonder how much one would upload if not allowed to use the credits gained...
JoeBAR is offline   Reply With Quote
Reply

Tags
leech, limit, mass, receive, warning


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


All times are GMT -5. The time now is 08:44 AM.

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