Old 03-21-2004, 04:40 PM   #1
hot_pit
Member
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 78
Default ioXFERLOGPARSE

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

Code:
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 is offline   Reply With Quote
Old 03-21-2004, 08:43 PM   #2
hot_pit
Member
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 78
Default

v 1.1 is out

added date (See 1thread)
hot_pit is offline   Reply With Quote
Old 03-22-2004, 08:26 AM   #3
hot_pit
Member
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 78
Default

v1.2 is out

Added support for colors , underline and bold on irc announce ..
Messages are configurable too.
hot_pit is offline   Reply With Quote
Old 03-22-2004, 09:36 AM   #4
stLancer_2
Member
 
Join Date: Aug 2003
Posts: 58
Default

thx , your script is nice and useful.
stLancer_2 is offline   Reply With Quote
Old 03-22-2004, 11:32 AM   #5
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

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)
wooolF[RM] is offline   Reply With Quote
Old 03-22-2004, 12:18 PM   #6
hot_pit
Member
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 78
Default

Quote:
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

EDIT : done .. see 1 thread
hot_pit is offline   Reply With Quote
Old 03-22-2004, 02:34 PM   #7
Bitboy_2
Junior Member
 
Join Date: Jul 2003
Posts: 27
Default

Great work mate :banana:
Bitboy_2 is offline   Reply With Quote
Old 03-22-2004, 03:35 PM   #8
MrManc
Junior Member
ioFTPD Registered User
 
Join Date: Aug 2003
Posts: 15
Default

nice script mate
MrManc is offline   Reply With Quote
Old 03-22-2004, 04:38 PM   #9
Bratell
Member
FlashFXP Registered User
 
Join Date: Feb 2003
Posts: 64
Default

I always get the same response from this little app:
Code:
<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.
Bratell is offline   Reply With Quote
Old 03-22-2004, 05:36 PM   #10
hot_pit
Member
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 78
Default

Quote:
Originally posted by Bratell
I always get the same response from this little app:
Code:
<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
hot_pit is offline   Reply With Quote
Old 03-22-2004, 08:43 PM   #11
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

followed instructions
got same probs like Bratell

weird...

EDIT : mu xferlog > 100mb, I've tried with a small file, it worked perfectly :x
wooolF[RM] is offline   Reply With Quote
Old 03-24-2004, 09:07 AM   #12
hot_pit
Member
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 78
Default

yeah im trying to handle files > 100mb ... but it will took tooo long to parse it
hot_pit is offline   Reply With Quote
Old 03-24-2004, 04:08 PM   #13
Bratell
Member
FlashFXP Registered User
 
Join Date: Feb 2003
Posts: 64
Default

Quote:
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

EDIT: It works great with a 5MB log file. That's not alot though.
Bratell is offline   Reply With Quote
Old 03-25-2004, 09:08 AM   #14
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

the one I've tried with was like 76kb or so...
but my real one is over 120mb or so...
wooolF[RM] is offline   Reply With Quote
Old 04-07-2004, 01:26 AM   #15
stLancer_2
Member
 
Join Date: Aug 2003
Posts: 58
Unhappy

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.
stLancer_2 is offline   Reply With Quote
Reply

Tags
download, ftp, traffic, uploaded, xferlog

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 02:48 AM.

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