Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Data Model Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Count number of downloads


Go to End


2 Posts   996 Views

Avatar
merrick_sd

Community Member, 99 Posts

17 August 2011 at 7:57pm

Anyone know the best way to count the number of downloads of a file uploaded in the Files and images section.

Avatar
swaiba

Forum Moderator, 1899 Posts

17 August 2011 at 10:40pm

historically... grep throught he apache request logs
in the future... wrap the request with some code (rather than a direct link to the assest) and add the counter logic there