in reply to Re: File download statistics parsing
in thread File download statistics parsing
What I need to do, I think, is compare the file size of the local file, with the file size value in the log entry, and if it matches, count it as a "completed" download. If not, ignore it. I'm not sure this is accurate either though, because some downloaders can "resume" partial downloads.
Another thought springs to mind though, what if I just concatenate the byte size value in the log itself, only, on a per-file basis, so I'm only parsing bytes out of the logs, not bytes from local files? That would at least allow me to see how many bytes the server sent to clients, but now I have to somehow correlate that on a per-file basis, which could require multiple passes through the logs. Not fun.
I'm open to other ideas, if anyone has them.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: File download statistics parsing
by esh (Pilgrim) on Aug 07, 2003 at 20:57 UTC |