![]() |
%USER is downloading.....
Is this possible:
Every time a user start's a downloading a file there would be an line in IRC of it: "Geek is downloading /mp3/Uriah Heep/lady.in.black.mp3" I have so little traffic in my box so the amount of lines to IRC is no problem. CP :) |
announce
i also would like to know how to do this, VERY interested
|
It is not complicated to write tcl script that would do what you want. Put it in
[FTP_Post-Command_Events] retr = TCL ../scripts/logDownload.itcl And inside the script: putlog "DOWNLOAD: something or else" I leave it up to you to get the the user, filename etc and to format the actual message correctly. |
Code:
##! |
:banana: total newb here :banana:
where infact does this newly created script go? /eggdrop/scripts/ ? |
Thanks Deo, I'll try to test that
CP :) EDIT: Works like a charm! :) I also modifoed it and put a "User has downloaded ...." and tried to put "@ 123 KB/s" but didnt get the cookie to work? any ideas? |
Quote:
CP :) |
thanks!
i will modify it tomorrow and report back my findings! UPDATE: put everything in and restarted the ftp server....no change, only announces logons and logoffs... i put the code into a file and put it in the scripts dir, and then modified the ioftpd.ini dunno what im doin wrong here..... |
Where and what did You edit in ioftpd.ini?
Also, I'd like to know how do to remove path from this: Code:
catch {putlog "UPDATE: \"$pwd\" \"\002$user\002 uploaded $pwd\002[lindex $args 2]\002\""} |
i created a file called download.itcl and i placed it in \ioFTPD\scripts...
in that file, i put in: Code:
##! Code:
[FTP_Post-Command_Events] |
stillll not there
ok, after fiddling with this thing nightly, i cant get this to work. anyone able to help me out here?
|
It should be in
Code:
[FTP_Pre-Command_Events] Also I noticed that sometimes a restart is needed, rehash don't seem to reset everything. |
yup. pre, else user isnt to start download, theyve finished it
|
bwahahaha...will change and see whats up
|
ok, same stuff. It announces logins and logouts but not when created
files are as examples the ioftpd.ini contains: Code:
[FTP_Pre-Command_Events] and the download.itcl contains: Code:
##! |
All times are GMT -5. The time now is 10:39 PM. |
Powered by vBulletin® Version 3.8.11 Alpha 3
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)