Uploads a file to a server via http form data