MF-S3 is a project mainly written in PHP, it's free.
Plugin for integrate Magic Fields with Amazon S3 (using tantan plugin: http://bit.ly/jDNdAi )