aspose file tools*
The moose likes Java in General and the fly likes Count number of downloads Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Count number of downloads" Watch "Count number of downloads" New topic

Count number of downloads

Miran Cvenkel
Ranch Hand

Joined: Nov 23, 2010
Posts: 147
Have a link on web page that enableds user to download a file.

How to log number of downloads ?

Can be done by implementing Filter. Is this ok, or is there any better way.

Searchable nature photo gallery:
Ivan Jozsef Balazs

Joined: May 22, 2012
Posts: 865
Is its a dynamic (e.g. servlet, jsp) or a static resource?

Anyway, perusing access logs can also be useful.

I agree. Here's the link:
subject: Count number of downloads
Similar Threads
IE drops below 90% market share
50 million foxes!
Time for a new Windows 7 PC : Any recommendation on specs?
server stops when trying to download blob data from db2(size 600 mb)