plugin/open source file management?

Does anyone know of a file mangement plugin or open source project (similar to basecamp type functionality)? working on a new webapp and uploading/downloading to the web is really the core of the app.

thanks