https://github.com/davidpersson/media

This is a CakePHP application that can be used to handle media uploading.