PDA

View Full Version : ioXFERLOGPARSE


hot_pit
03-21-2004, 04:40 PM
Well its basic a command for irc but you can use on your ftp to ... it will output who uploaded and who downloaded some certain release. For installing for ftp do :

1) Edit ioXFERLOGPARSE.ini correctly.
2) Add to ioFTPD.ini

[FTP_Custom_Commands]
xferlog = EXEC ..\scripts\ioXFERLOGPARSE.exe xferlog

[FTP_SITE_Permissions]
xferlog = *

3) for bot annouce open ioXFERLOGPARSE.tcl and change exe path there .. then load it on your eggdrop


on chan :
<@fuscao> !traffic Some.Release
<@|*****|> -:: traffic ::- Some.Release has been uploaded by fuscao, cabeludo and has been downloaded 5 times by careca, pedroza, marquitu, tuneta, cta making 8.1gb traffic (2.0gb up, 6.1gb down).

on ftp :
site xferlog Some.Release
200-Some.Release has been uploaded by fuscao, cabeludo and has been downloaded 5 times by careca, pedroza, marquitu, tuneta, cta making 8.1gb traffic (2.0gb up, 6.1gb down).


DOWNLOAD LINK : http://www.ioftpd.com/scripts/script.php?id=96
Thats All

hot_pit
03-21-2004, 08:43 PM
v 1.1 is out

added date (See 1thread) :p

hot_pit
03-22-2004, 08:26 AM
v1.2 is out

Added support for colors , underline and bold on irc announce ..
Messages are configurable too.

stLancer_2
03-22-2004, 09:36 AM
thx , your script is nice and useful.:D

wooolF[RM]
03-22-2004, 11:32 AM
could it be possible to count how many times rls was downloaded, fetch release size (mb/gb), multiply that size with the number of downloads and show at IRC?

something like:
<@|*****|> Some.Release (dated 18/03/2004, 14:05) has been uploaded by bla1 and has been downloaded X times by bla1,bla2,bla3,bla4 making XX,XXgb traffic (xx.xxgb up, xx.xx down)

hot_pit
03-22-2004, 12:18 PM
Originally posted by wooolF[RM]
could it be possible to count how many times rls was downloaded, fetch release size (mb/gb), multiply that size with the number of downloads and show at IRC?

something like:
<@|*****|> Some.Release (dated 18/03/2004, 14:05) has been uploaded by bla1 and has been downloaded X times by bla1,bla2,bla3,bla4 making XX,XXgb traffic (xx.xxgb up, xx.xx down)

yeah ... maybe i can try it :D

EDIT : done .. see 1 thread

Bitboy_2
03-22-2004, 02:34 PM
Great work mate :D :banana:

MrManc
03-22-2004, 03:35 PM
nice script mate :)

Bratell
03-22-2004, 04:38 PM
I always get the same response from this little app:

<MyNick> !traffic Some.Release
<MyBot> -:: traffic ::- Some.Release never passed through this site or it's too old.

The xferlog exists and contains the newly uploaded Some.Release.

Since there are few parameters that could be wrong I'm a bit confused. Anyone else having problems?

I'm running ioXFERLOGPARSE v1.3 with ioFTPD 5.84r.

hot_pit
03-22-2004, 05:36 PM
Originally posted by Bratell
I always get the same response from this little app:

<MyNick> !traffic Some.Release
<MyBot> -:: traffic ::- Some.Release never passed through this site or it's too old.

The xferlog exists and contains the newly uploaded Some.Release.

Since there are few parameters that could be wrong I'm a bit confused. Anyone else having problems?

I'm running ioXFERLOGPARSE v1.3 with ioFTPD 5.84r.

this is only cause by wrong userfile path or if the path of some release is in hide_path

wooolF[RM]
03-22-2004, 08:43 PM
followed instructions
got same probs like Bratell

weird... :(

EDIT : mu xferlog > 100mb, I've tried with a small file, it worked perfectly :x

hot_pit
03-24-2004, 09:07 AM
yeah im trying to handle files > 100mb ... but it will took tooo long to parse it :p

Bratell
03-24-2004, 04:08 PM
Originally posted by wooolF[RM]
followed instructions
got same probs like Bratell

weird... :(

EDIT : mu xferlog > 100mb, I've tried with a small file, it worked perfectly :x
How small? Mine is tiny.. only 35MB :D

EDIT: It works great with a 5MB log file. That's not alot though. :rolleyes:

wooolF[RM]
03-25-2004, 09:08 AM
the one I've tried with was like 76kb or so...
but my real one is over 120mb or so...

stLancer_2
04-07-2004, 01:26 AM
well , i may have found a bug.
i am using StromLog script to archive my ioftpd.log and xferstats. file weekly. after this week's archive. the ioXFERLOGPARSE is not working any more, when ever check any rls(all uploaded this week of coz), it only says this rls is too old or never pass this site. and i checked the xferstats file, it's still there and loging. i tried to restart ioftpd, and it still not working.
:(

KVS_J
07-19-2004, 06:37 AM
idem my path is good
my fil xferlog is present
but
never passed through this site or it's too old.

:( :confused:

KVS_J
07-21-2004, 06:54 AM
this system dont work if the release is in a dated dir or other
exemple in xferlog:
Tue Jul 27 14:49:53 2004 0 67.19.24.58 1063 /VCD/Double.EXEMPLE/dvf-00.sfv a _ i r test ftp 1 * l

This Work

but if
Tue Jul 27 14:49:53 2004 0 67.19.24.58 1063 /VCD/0727/Double.EXEMPLE/dvf-00.sfv a _ i r test ftp 1 * l

IS DONT WORK

sergio
08-07-2004, 03:22 PM
any chance for dated dirs support ?


not wokring for me even on this:

Sat Aug 7 22:34:16 2004 122 IP. 15000000 /GAMES/BLA.BLA-XXXX/sgn-swc.r02 b _ i r xxx ftp 1 xxx l

zOrP
04-09-2005, 09:39 AM
no matter what i type..
i get

16:37:57) (@zOrP) !traffic some.rls
(16:37:59) (@xxx) -:: traffic ::- some.rls never passed through this site or it's too old.

even though i just made it, and upped it..

set binary {C:/Programmer/ioFTPD/scripts/ioTOOLS/ioXFERLOGPARSE.exe}


##### PATH WHERE XFERLOG IS LOCATED (MAKE SURE IT EXISTS!) #####
XFERLOG=C:\Programmer\ioFTPD\logs\xferlog

##### PATHS TO HIDE FROM TRAFFIC (IT WILL SKIP THAT FILE!) #####
HIDE_PATH=PRE

##### SHOW DATE ? (1=ON 0=OFF)
##### DATE EX: (dated 21/03/2004, 11:09)
SHOW_DATE=0

any idea why ?

Jog
06-01-2005, 01:56 PM
Originally posted by fuscao
this is only cause by wrong userfile path or if the path of some release is in hide_path

Where it takes userfile path???

i use the ioShereDB and it always says: blablabla never passed through this site or it's too old

i had user files in a path like ioFTPD/scripts/ioExport/export because ioShareDb doesn't have user/groups files.

there's the possibility to add a parameter for the userfile path ??

thx