Web Hosting
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb HostingWeb Hosting

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 2nd, 2004, 08:05 PM
matthewdean matthewdean is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Sydney
Posts: 15 matthewdean User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
download issues

Hi,

I'm webmastering two intranet sites. I want to know about the situation of hit count vs transfer volume. Is the only way to get a reliable count of the number of actual downloads by calculating with the file size against the raw bytes transferred as a result of download attempts for the corresponding file?

The raw hits count should agree with the transfer volume based on the corresponding file size. In this case it's just a matter of simple arithmetic.

If I have a file of size 76kb and a hit count of 115, there should be a transfer volume of 87Mb. But if the transfer volume is only 72Mb, that means that some 20 attempts to download the file have gone astray and actually there have only been 95 downloads.

Can anyone out there help with this?

Regards,
Matt

Reply With Quote
  #2  
Old June 3rd, 2004, 12:02 AM
ptrhosting ptrhosting is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 52 ptrhosting User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 32 m 26 sec
Reputation Power: 5
the file can be partially downloded.

you can wirte a simple script to record who/when request the file, or check the raw access logs.

Reply With Quote
  #3  
Old June 3rd, 2004, 01:08 AM
monsterhosting's Avatar
monsterhosting monsterhosting is offline
Moderator
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2003
Location: Vancouver, BC
Posts: 889 monsterhosting User rank is Second Lieutenant (5000 - 10000 Reputation Level)monsterhosting User rank is Second Lieutenant (5000 - 10000 Reputation Level)monsterhosting User rank is Second Lieutenant (5000 - 10000 Reputation Level)monsterhosting User rank is Second Lieutenant (5000 - 10000 Reputation Level)monsterhosting User rank is Second Lieutenant (5000 - 10000 Reputation Level)monsterhosting User rank is Second Lieutenant (5000 - 10000 Reputation Level)monsterhosting User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 9 h 43 m 31 sec
Reputation Power: 61
Send a message via AIM to monsterhosting Send a message via MSN to monsterhosting
You could also make a script that just keeps count of how many times it has been downloaded using PHP.
__________________
Gary Jones

BlueFur.com - Canada Web Hosting

Reply With Quote
  #4  
Old June 3rd, 2004, 06:18 PM
matthewdean matthewdean is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Sydney
Posts: 15 matthewdean User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for your suggestions, I'll keep them in mind. I actually did get this from another source:

"If there's a caching proxy between you and the recipient, the proxy will probe with a HEAD request (which will be a hit) but send the data back from its own copy."

This means that files can be delivered without impacting the transfer volume, and putting simple, one-to-one calculations out of whack.

Cheers,
Matt

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb HostingWeb Hosting > download issues


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway