This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Download AutoStats


DEPRECATED: This plugin is deprecated and not maintained anymore and its use is not recommended as may be unestable.

With this plugin, you just have to upload your files by FTP to start collecting your download stats. The uploaded files are added to the stats database the first time they are requested. You can change this and only be added to database if the first request is made by the administrator, or not added in anyway.

Also, you can add the files in a bulk process from the files management page, where you can also add a title and excerpt to the file for your information (At this moment only title is showing to the user). To easy administrate the files, them can be filtered by folder in the management page and can be sorted by several fields (Date, Name, Hits and Title) and can be filtered by folder or status (Active or locked). Also, a file can be locked to prevent downloading it.

The plugin supports multilevel folders, so, you can organize your files in subfolders (any depth). All subfolders are scanned when a bulk add is performed.

Hits are not counted for users who can upload files. (Those with upload_files capabilty, by default administrators).


  • Count hits for downloaded files.
  • Upload files by FTP (I know, it’s not a feature).
  • Bulk scan and add files to database.
  • Files added to stats the first time they are requested.
  • Widgets to show popular or recent files on any subfolder.
  • Easy file management by uploading them to different subfolders.
  • Files can be locked to prevent download.

Roles and Capabilities

  • User must have upload_files capability to manage files. By default administrators.
  • User must have manage_options capability to change plugin options. By default administrators.
  • Hits are not counted for users with upload_files capability. Those who can manage them.

Languages included:


After uploading the plugin you must configure it in the Settings Page, select the folder where the files reside (Relative to your WordPress root), and the custom download URL if you’re using permalinks.

Just add the link to file anywhere in your post: no tags to add it, just add the link to file by using the custom URL.

Also you have the option to include some widgets in your sidebar. There you can select what to show (recent or popular files), and wich folder to show. You can have multiple widgets with different configurations.


Imagine you selected /files as the folder where your files reside and download as your custom URL.

You uploaded the file document.pdf to the /files folder and the file song.mp3 to the /files/audio folder. The links you have to use are:

  • for the first file, and
  • for the second.

If you are not using permalinks, then you can use:

  • for the first file, and
  • for the second one.


  • 1.1.5 – Added Belorussian translation.
  • 1.1.4 – BugFix: Hits were counted only for admins and not for users. Shoud be the other way.
  • 1.1.3 – BugFix: Corrected checking user rights.
  • 1.1.2 – Revised to work with WP 2.7. Included Spanish translation. Management moved to from Tools to Media in admin panel.
  • 1.1.1 – Improvement: Changed levels to role capabilities. User must have upload_files capabilty to manage files.
  • 1.1 – A bulk clean of the database can be performed. Missing files will be deleted.
  • 1.0.2 – Code improvements
  • 1.0.1 – Solved some slashes showed in titles
  • 1.0 – First public version


Copyright (C) 2004-2010 by Jordi Canals

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see


  • File Management Page.
  • Editing file info.
  • Plugin settings page.
  • Widget Settings panel.


Installing the Plugin

  1. Unzip the plugin archive
  2. Upload the folder plugin to the /wp-content/plugins directory
  3. Activate the plugin through the Plugins menu in WordPress
  4. Configure the plugin on the settings page (Settings->Downloads)
  5. It is recommended to save your permalink options (not required).
  6. Upload files to the selected folder by FTP and start collecting stats.
  7. Manage your files on your Manage Downloads page (Media->Downloads).
  8. Enjoy your plugin!

Contributors & Developers

“Download AutoStats” is open source software. The following people have contributed to this plugin.


Translate “Download AutoStats” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.