By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,225 Members | 2,172 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,225 IT Pros & Developers. It's quick & easy.

tracking downloads

P: n/a
i'm hosting mp3s on a private server
I'd like to track downloads...specifically:
-IP address
-Unique downloads
-Downloads per day or week

thanks
-sachin
Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
In article <bo**********@murdoch.acc.Virginia.EDU>,
"sachin" <*r*****************@icqmail.com> wrote:
i'm hosting mp3s on a private server
I hope they are all truthfully yours.
I'd like to track downloads...specifically:
-IP address
-Unique downloads
-Downloads per day or week


You server logs keep track of that. There are several packages available
that make an analysis of those logs. I am not very deep into this, so
this is where my information ends.

--
Kris
kr*******@xs4all.netherlands (nl)
Jul 20 '05 #2

P: n/a
Kris wrote:
In article <bo**********@murdoch.acc.Virginia.EDU>,
"sachin" <*r*****************@icqmail.com> wrote:
i'm hosting mp3s on a private server


I hope they are all truthfully yours.


The MP3 files probably are. Whether he holds the copyright or a license to
distribute is another matter...

I'd like to track downloads...specifically:
-IP address
-Unique downloads
-Downloads per day or week


You server logs keep track of that. There are several packages available
that make an analysis of those logs. I am not very deep into this, so
this is where my information ends.


Analog and Webalizer are decent packages, I believe they are cross-platform.

However, if you need *accurate* statistics, then you'll have to configure
your server to provide headers in its HTTP responses to avoid any caching,
or at least require validation for each request. Look at your server
manual to find out how to do this.

You also have to clarify what you mean by "IP address". Do you want the IP
address of the computer that connects to your server? That's what is
logged normally. Or do you want the IP address of the person downloading?
Sometimes this is available in headers provided by the proxy, such as
X_Forwarded_For, but may well be meaningless in the context of the Internet
(I doubt IP addresses like 10.0.0.1 are useful to you).

--
Jim Dabell

Jul 20 '05 #3

P: n/a
"sachin" <*r*****************@icqmail.com> wrote in message news:<bo**********@murdoch.acc.Virginia.EDU>...
i'm hosting mp3s on a private server
I'd like to track downloads...specifically:
-IP address
-Unique downloads
-Downloads per day or week

thanks
-sachin


Grep the logs or have the download go through a CGI and document it there.

EC
..
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.