Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 66173 invoked from network); 22 Apr 2004 19:22:29 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 22 Apr 2004 19:22:29 -0000 Received: (qmail 8594 invoked by uid 500); 22 Apr 2004 19:22:05 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 8555 invoked by uid 500); 22 Apr 2004 19:22:04 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 8498 invoked from network); 22 Apr 2004 19:22:04 -0000 Received: from unknown (HELO stl-smtpout-01.boeing.com) (130.76.96.56) by daedalus.apache.org with SMTP; 22 Apr 2004 19:22:04 -0000 Received: from blv-av-01.boeing.com ([192.42.227.216]) by stl-smtpout-01.boeing.com (8.9.2.MG.10092003/8.8.5-M2) with ESMTP id OAA09706 for ; Thu, 22 Apr 2004 14:22:08 -0500 (CDT) Received: from cruciate.ca.boeing.com (localhost [127.0.0.1]) by blv-av-01.boeing.com (8.11.3/8.11.3/MBS-LDAP-01) with ESMTP id i3MJM7V02874 for ; Thu, 22 Apr 2004 12:22:07 -0700 (PDT) Received: from localhost (dodge@localhost) by cruciate.ca.boeing.com (8.11.7+Sun/8.9.3) with ESMTP id i3MJM7u25718 for ; Thu, 22 Apr 2004 12:22:07 -0700 (PDT) Date: Thu, 22 Apr 2004 12:22:07 -0700 (PDT) From: "John P. Dodge" X-X-Sender: dodge@cruciate To: users@httpd.apache.org In-Reply-To: <003301c42820$f7d01410$7b0aa8c0@psychomachine> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] how to log the no. of bytes transferred X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Thu, 22 Apr 2004, Apache wrote: > Dear John, > > Thanks for the reply . I have tested it out with it . But I have > found that it actually logs the file size instead of the actual no. of by= tes > transferred. > > In fact I like to log the actual no.of bytes transferred so that = I > would be able to know if the user completely downloaded the file or not. > > Any ideas ?? > > > Thanking You. > > Binaya > > > On Wed, 21 Apr 2004, Apache wrote: > > > > > I am using apache 2.0.40 and whenever a user downloads a > > > mpeg file from our server, I would like to know only the successfully > > > completed downloads. > > > > > > I have password protected the site so that only the > > > authenticated user can download it. But I have a problem that if some > > > authenticated user downloads it partially, how do i log the actual no= =2E > > > of bytes he download. > > > > > > > > The bytes transferrer is the last number in the access log line. I do t= his > > too, with a Perl script to post process the log file. > > > > See: http://httpd.apache.org/docs-2.0/mod/mod_log_config.html > > > > If the number in the "bytes transferred" field is the sane as the file size then that is how many bytes Apache sent to the O/S. For example if a client hits the cancel during the transfer the byte count will be less. As Joshua pointed out you may want to look at mod_logio. http://httpd.apache.org/docs-2.0/mod/mod_logio.html ---------------------------------------- "Mon a=E9roglisseur est plein d'anguilles" John P. Dodge Boeing Shared Services --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org