Handout is a project mainly written in PHP and JAVASCRIPT, it's free.
Document and Download Manager for Joomla