I'm doing the same as you are - sending JPG Images along with more information. CHTTPFormEncoder won't do the trick, as it is only meant for text data, not for binary input like images. Encode the body yourself as Content Type
_LIT8(KMultipartContent, "multipart/form-data; boundary=abGh4h");
then, the image and the data should look like:
You can of course add more form feeds. Check the W3C specification for your convenience (bottom of the page for details) and make sure your webserver is also configured correctly.
Content-Disposition: form-data; name="Mode"
Content-Disposition: file; name="Image"; filename="myImage.jpg"
<BINARY IMAGE DATA HERE>