Java upload files by sending multipart request programmatically
Java code example for uploading files programmatically from a Java client to any web server