View Full Version : ioLimitTransfers

11-05-2003, 01:10 PM
DOWNLOAD LINK: http://www.ioftpd.com/scripts/script.php?id=28

Improved my SharedMemory class, now it reads user&groupinfo from ioFTPD instead of files. The result is this little tool, that can limit the maximum number of downloadthreads per group/user.

I didn't test it extensively, but it should work.

11-05-2003, 01:27 PM
Great Work Bro
If you can add site command for this like glFTPd
this is will be great

11-05-2003, 02:10 PM
sounds terrific, good work ADDiCT :)

11-05-2003, 02:57 PM
very usefull .... THX !! :)

11-05-2003, 09:40 PM
really a usefull tools for me ,thx so much.

11-06-2003, 10:34 AM
awesome! great job addict!

11-06-2003, 11:33 AM
nice tools again :D thx
would it be possible to have group limit per user so u can set iND grp per user at 2 dl so everyone in that group has 2 allowed download slots.. and it saves from having to add all the user names individually every time to the ini i realize u can set default user limit but what if u want it different.. etc :p

11-06-2003, 01:24 PM
updates in 1.0.1
- added per group default userlimits, as requested

read the readme.nfo for details on how the permissions are checked!

11-06-2003, 04:30 PM
yo, looks nice, but I get an error =/
Run-time error '9':
subscript out of range, even with default ini

11-06-2003, 04:32 PM
could be, never even tested latest :D

11-06-2003, 04:34 PM
doh! hehe :p

11-06-2003, 04:39 PM
forgot 1 lousy line of code :o

11-06-2003, 04:55 PM
works great now, tnx =)

11-06-2003, 05:12 PM
thx you did it! could add custom reply msg for group userdefault if you wanted to ;)

11-06-2003, 05:14 PM
i was thinking about that ... but what it comes down to is that the user has reached his limit ... regardless of it being set by the default, specific or groupspecific settings

11-08-2003, 07:00 PM
but i was wondering, is it also possible to add max logins
pr. group to it...

would be awsome

11-19-2003, 10:57 AM
updates in 1.0.3 :
- max downloads per service (max total downloads)
- fixed same 'debug time' bug that was discovered in SiteWho, only happens on certain hardware.
- added error logging to most functions

11-20-2003, 12:49 PM
updates in 1.0.4 :
- added something i need ;) : blocking certain file(mask)s for download (in my case: desktop.ini)

RETR desktop.ini
550 This file is blocked for downloading

11-20-2003, 01:43 PM
dose it work to force to exclude users from DL sertain dirs to ? :)

If not please add that to, coz I heard tha one person found (the other day) a "Approved by xxxxx" dir on DC, that some stupid-f**k-I-dont-know-to-set-my-skiplist had inside another"dir" from "someones" server ;)


11-20-2003, 02:07 PM
it only works with the RETR command
a dir is not a file: as soon as a user can see a directory, he can "copy" it (empty dir)

12-12-2003, 03:21 PM
anyone actively using this? does it crash ioFTPD?

12-13-2003, 01:51 AM
using it for a while know here, and never had probs so far

02-02-2004, 03:04 PM
Hi !

Is it possible to ";" mark all lines below default_userlim = -1 and default_grouplim = -1

SO only default_userlim and default_grouplim is active ? do you understand what i meen ? ;)

No specific ( actually no at all ) User or Group settings.


02-02-2004, 03:43 PM
it shouldn't be a problem

But i know myself, so here's a solution when it would be a problem:
Put a fake entry for each specific setting, like this:
service = xxxxxxx|-1
group = xxxxxxx|-1
user = xxxxxxx|-1

02-02-2004, 04:09 PM
Thanx .. i'll try with ";" marking first ... and if not working i'll do "dummie" entrys as you said.


02-06-2004, 03:42 PM
ok, i tested this under extreme conditions, and it WILL crash ioFTPD !
i am going to rewrite this little tool from scratch.

02-09-2004, 05:21 AM
*still waits* ;)

03-03-2004, 09:37 PM
Nice looking forward to test a rewritten script of this. Something I just wanted to add is if it could be possible to do some settings online via CMD's?

03-04-2004, 01:11 AM
new rewritten version tonight when i get home from school :o

03-04-2004, 04:33 PM
very cool script, gonna install this asap

thanks for your hard work

06-24-2004, 03:00 PM
If u disable ioLimitTransfers, do u still get the 426 error? I don't think the error lies with the script, because it either
- returns 0, so io starts the download
- returns non-zero and shows a 530 error message

to disable ioLimitTransfers, comment this line in ioFTPD.ini :
; retr = EXEC ..\scripts\ioLimitTransfers.exe

08-05-2004, 03:18 AM
Looks really nice ADDiCT!

Before i test it: does the script limit downloads AND uploads too?

Good job!

08-05-2004, 11:01 AM
Current version only affects downloads (most people want to limit leechers and not uploaders :))
But it's quite easy to add limits for uploads as well, something i have i mind is max 1 upload per directory per user ("no dual up on same sfv")

09-28-2004, 12:20 AM
yeah! very useful:D

08-18-2005, 03:37 AM
Moo.. :)
did you stop updating this nice script ADDiCT ?
i have a request for it also..
regards - max

08-18-2005, 03:40 AM
As soon as ioFTPD v1.0 hits the store, i will start scripting again. I don't see the point in writing any code for this +1year old version, if all that work will become useless with the new io.

08-18-2005, 03:58 AM
Hi there! :D
Thx for the fast reply and respect to all your nice work.

That sounds fair hehe, really look forward for that next version.. ;)
My requests would have been,
1. save debug into a file.
2. be able to add time remaining untill leechban expires, or be able to modify the debug output.(i saw time remaining could be found there...)

Script looks awsome otherwise ;>
But i totally understand if you dont wanna put more time on old scripts.

- max

08-18-2005, 05:36 AM
why i can't download those scripts now? or anyone could tell me why?