Need to create a POST request that uploads a file? I spent this afternoon trying to figure out what one looks like. This document includes a template that has been successful for me. ======================== POST /path/to/script.php HTTP/1.0 Host: example.com Content-type: multipart/form-data, boundary=AaB03x Content-Length: $requestlen --AaB03x content-disposition: form-data; name="field1" $field