mIRC Home    About    Download    Register    News    Help

Print Thread
FTP Log Reader #204073 07/09/08 09:32 AM
Joined: Jul 2007
Posts: 32
S
Sh4d0w191 Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Jul 2007
Posts: 32
Ok I have a script I'm really stuck on, basically I need a mirc script that checks for updates on "C:\Program Files\BPFTP Server\logs\FTP.log" and when it finds an update it reads the new logs out to a channel, so you can see whats happening on the ftp.. and it would have like a !ftplogging on / off command. But I have tried all sorts of code but i cant get it work, maybe someone here knows what to do? smile

Last edited by Sh4d0w191; 07/09/08 09:33 AM.
Re: FTP Log Reader [Re: Sh4d0w191] #204081 07/09/08 09:36 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Please provide an example as to the format of the information stored in the log file.

Re: FTP Log Reader [Re: Sh4d0w191] #204112 08/09/08 08:36 PM
Joined: Jul 2007
Posts: 32
S
Sh4d0w191 Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Jul 2007
Posts: 32
(000205) 9/8/2008 10:32:45 PM - Shadow (**.*.**.***) > disconnected. (00:00:23)
(000205) 9/8/2008 10:32:26 PM - Shadow (**.*.**.***) > 213 20080830200307
(000206) 9/8/2008 10:35:12 PM - Shadow (**.*.**.***) > 226 Transfer ok
(000206) 9/8/2008 10:35:12 PM - Shadow (**.*.**.***) > 226 Transfer ok

etc.. :P

Re: FTP Log Reader [Re: Sh4d0w191] #204171 10/09/08 04:50 PM
Joined: Jul 2007
Posts: 32
S
Sh4d0w191 Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Jul 2007
Posts: 32
Please can someone help? smile

Re: FTP Log Reader [Re: Sh4d0w191] #204182 10/09/08 11:12 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Yes someone can, and someone will, but you have to have a bit of patience.