Actually the MD5 hash is one part that is working here. I think the problem is in the LWP syntax with adding the parameters hash and the the file contents. Doesn't like both of those there. I just can seem to find any examples of how to add parameters and the file contents to a post.