View Single Post
Old 11-18-2003, 11:26 PM  
Mouton
Posse Member
 
Join Date: Dec 2002
Posts: 1,956
Default XFERStats.itcl - # of downloads Stats

Little itcl script to compute stats using xferlog
Gives number of times each rls was download (or upladed!)

I parsed a 67K lines xferlog in a little over 60s.

You can output in html, text or csv (to play with it in excel)

Settings section at top is pretty straightforward.

You can either map it to a SITE command or run it using the Scheduler each night to get up to date stats that u can share or not with ur fellow users.

[Scripts]
xferstats = TCL ..\scripts\xferstats.itcl

or

[Scheduler]
xferstats = 0 0 * * TCL ..\scripts\xferstats.itcl

Download avail. in ioftpd.com/members for Foundation License owners.

Sample csv:
Code:
download,/games/Not.So.Fun-Game,3,heho someGuy potatos
download,/svcd/Wooo-Bananas,4,potatos twsite someGuy heho
download,/vcd/Cool.Movie-Something,3,heho someGuy potatos
download,/tvrips/Good.Eps-Me,2,micky Mouton
Sample html:
Code:
<table>
<tr><td>Not.So.Fun-Game</td><td>3</td><td>heho someGuy potatos</td></tr>
<tr><td>Cool.Movie-Something</td><td>4</td><td>potatos twsite someGuy heho</td></tr>
<tr><td>Good.Eps-Me</td><td>3</td><td>heho someGuy potatos</td></tr>
<tr><td>Wooo-Bananas</td><td>12</td><td>micky Mouton</td></tr>
</table>
Sample text:
Code:
/games/Not.So.Fun-Game was downloaded 1 times by 'Mouton'
/svcd/Wooo-Bananas was downloaded 5 times by 'Mouton potatos twsite someGuy heho'
/vcd/Cool.Movie-Something was downloaded 2 times by 'someGuy potatos'
/tvrips/Good.Eps-Me was downloaded 2 times by 'micky Mouton'
Enjoy.
Mouton is offline   Reply With Quote