Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

File Type Calculation

Reply to Post Add a New Topic
UserPost

3:48 am
March 12, 2010


Bill360

New Member

posts 1

We are trying to determine the number of downloads done on one of our websites. We have seen the the PDF entry in the File type section of the AWStats report. It reports the number of "Hits" but that number seems very high (i.e. 10K hits for 6K visits).

So, that leaves us wondering how that count is calculated?

I have also found some Extra Section code to count downloads but as near as I can find, robot downloads of our pdf files would not be filtered out from any extra section definitions.

Is there a recommended way to count downloads?

I am more concerned with attempted rather than completed downloads although that number would be useful as well.

8:40 am
March 12, 2010


Jean-Luc

Admin

posts 1125

Hi,

I don't have a simple answer to your question. Here is a summary of the situation regarding downloads.

The PDF entry in the file type section is the number of attempted downloads. It is correct that extra sections include robots traffic.

When one downloads a PDF file, the server typically splits the file in parts and sends a first packet with a 200 code ("OK") followed by several packets with 206 codes ("Partial Content"). The total bandwidth should include the 200 and 206 packets.

The ValidHTTPCodes  directive specifies the codes counted by AWStats as valid codes. The default value is:

ValidHTTPCodes="200 304"

You can replace it by:

ValidHTTPCodes="200 206 304"

You will then get bandwidth values including the partial contents. The problem with that is that the number of hits will also include the 206 codes. Anyway, this bandwidth value could help you understand if most downloads are complete or if they are aborted.

If you do not want to change ValidHTTPCodes  for all sections of the report, you can perform the change for an extra section with the ExtraSectionCodeFilter  parameter.

Reply to Post

Reply to Topic:
File Type Calculation

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
8 + 7
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
14 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 638
Posts: 2709

Membership:

There are 257 Members
There have been 302 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)