Ready to get started?Download WordPress


Is there a way to monitor how many times a file has been downloaded? (5 posts)

  1. ahrenba
    Posted 6 years ago #

    Hey guys,

    I have hosted a couple files on my blog and am looking for a way to track or monitor how many times they have been downloaded?

    What's the best way to do this? Is there a plugin? Some code maybe?

  2. iridiax
    Posted 6 years ago #

    This is the sort of thing that shows up in site logs.

  3. ahrenba
    Posted 6 years ago #

    Yeah, but I am looking for something more easier/user friendly.

  4. Samuel B
    Posted 6 years ago #

  5. Ogre
    Posted 6 years ago #

    The site log log is too hard?

    grep 'filename.ext' /var/log/apache2/access.log | awk '{print $1}' | sort | uniq | wc -l

    What could be simpler? Ok, I'm being a jerk. :)

Topic Closed

This topic has been closed to new replies.

About this Topic