Here is a few examples on how to keep track of how many people downloaded your files
Probably the easiest way is to just put the link to the download file on a separate page and place one of the many available web page counters on that page. You can automate the download by having the counter page redirect itself to the download file.
The following example links to pages that contains a counter and automatically redirects to the download file. The page redirects in 3 seconds (ordinarily you would probably set to 0 and make the page counter invisible) which gives you time to right click and View->Source if you want to see the HTML. To test:
Set up a separate page to view all the various counters:
Here's another approach, a PERL script that does a similar thing but places the count in a text file with the same filename and directory as the download document but with a .txt extension. You can view the counter file with your browser (or do something fancier if so motivated). Many web page counters don't count browsers reloads (don't increase the counter when the user hits the browser reload or refresh button. This little script is not that sophisticated.)