Ruby-multipart-post is a project mainly written in Ruby, it's free.
Multipart Form Post through ruby script
Copyright (c) 2010 (Amit Kumar), released under the MIT license