Unix Shell - Parsing FTPD files

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > August 2006 > Parsing FTPD files





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Parsing FTPD files
dazzler@amortz.co.uk

2006-08-23, 1:26 pm

Hello Group,

Would anyone know of any handy method to parse the contents of an ftpd
log, to show the file downloaded, and user who downloaded that file?

I really appreciate any pointers (not C ones ;-) or suggestions.

Many Thanks,

Darren

Stephan 'smg' Grein

2006-08-23, 1:26 pm

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

dazzler@amortz.co.uk wrote:
> Hello Group,
>
> Would anyone know of any handy method to parse the contents of an ftpd
> log, to show the file downloaded, and user who downloaded that file?
>
> I really appreciate any pointers (not C ones ;-) or suggestions.
>
> Many Thanks,
>
> Darren
>

Look up the pattern style it's logged and use some sed/awk to get it done.

b.r.,
- --
Stephan 'smg' Grein, <stephan at stephan minus rockt dot de>
http://stephangrein.de
GnuPG-Key-ID: 0xF8C275D4
FingerPrint: 5B6F 134A 189B A24D 342B 0961 8D4B 0230 F8C2 75D4
Geek by nature, Linux by choice.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iQIVAwUBROx8441LAjD4wnXUAQILhw/6A5jpYxdV7buHK+NLYN1B+idYP70sPKKP
Kh9NEgJeGDKcT7YtrVGxwxgXYVb5jeDW2LkSIN4x
LRdc6t0To+sAhySNHFc4XxmZ
MOkjVE9BuMEJuQ8Cg3SkyAzb3/GgbGfyZiIzi3glkbxBe7M37va4ftNE9FVXJ5+C
CgBOrbH7z/ vkg82J+3LE46EnpnTNe4r6D40f2fRMKt30+Hp9rY
45APmKG09S7cRw
iLUaGNj7UKkzxINsi1iqIcuXAD4wLDI1LEJFd9TG
Rcm58KABPtwlfXQdmUJ4UMjB
ldE2NdKW/ZlIM35mqbf6cChbSZfyPeyoKKcivXZAvqS/4C2V2Cpsm3vuP1DuLTwe
Fdu3uzYuvwOxSUQWjXNE14ygNVkxsm7qwHeY1ekF
ypqnsXrvLXyleWmgj6ZKGkZm
xeAXlwchex1PzTA0ykNtA9gmuccK0G8FF19YXqC4
e6gzQw8R5Mt9asNWEvcFI6Vd
DOPOu1r61le75c2IcB0mPMc/ewwuxdaTlN8b1RhzbtHUQ+54uNGR1RhMpoax/rTo
bgo/ emPnnaG1B7cp7DzTolT4L1zGaMCXLSsG+hORk3Ya
SujONPzFj/dPhAw7MjDl
Isi+fsdNTH90jrCGvBgpucNVxs9e3jrUgNvJ4bWE
mRyw5hN4SGDkqri3vXKtzswq
kHjdWbJmXcY=
=UJuD
-----END PGP SIGNATURE-----
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com