PDA

View Full Version : [Filled] Stat-script


rAWfOX
11-14-2003, 10:05 AM
Not top 10 up/dl

Im looking for a script that can tell how many time a release is downloaded and site toplist of thouse downloaded releases. Is this even possible to do?

Ex:

donald_duck_-_What_Ever_The_Release_Is_Called was downloaded 34 times by 20 users or something... :)

Hope anyone want to take this on his sholders :D

Greetz....

Harm
11-14-2003, 10:11 AM
There's already a tool to analyse the 'xferlog' file : Webalizer (http://www.mrunix.net/webalizer/newindex.html)

Read this thread (http://www.ioftpd.com/board/showthread.php?s=&threadid=1370) for more informations.

rAWfOX
11-14-2003, 10:26 AM
Cool, but i allso want it to announce in #channel and u can check them out in flashfxp.....

Mouton
11-14-2003, 02:27 PM
When do u consider a release was downloaded by 1 user ?
when all files from the dir were downloaded ? when only 1 file was downloaded ? etc.

A simple script that write username/rls name in a little .txt file + a little .itcl that would read it and count for each rls, and so on. Pretty simple to do.

Funneh thing is, such a script would slow down site since it would need to run on each RETR.

MaistroX
11-14-2003, 03:19 PM
True, but would be PRETTY cool to try out thou *hint* *hint*, dont u think Mouton ? ;)

darkone
11-14-2003, 03:56 PM
I actually wrote xferlog analyzer for glftpd, that does just that ;p I can pass the source code on to some programmer (it most likely requires some changes)

Mouton
11-18-2003, 11:21 PM
done. see XFERStats post.