Putting an image and variables in an HTTP Post (Not using FileUpload Control)
<p>Following on from my post..</p>

<p><a href="http://stackoverflow.com/questions/1411670/saving-an-image-from-http-post-not-using-fileupload-control">Saving an image from HTTP POST (Not using FileUpload Control)</a>. Where I kind of came to the assumption that I could just use Request.Files..</p>

<p>To test the saving functionality, i'm now looking at <strong>sending an image via an HTTP Post</strong> by crafting this HTTP Post dynamically in the code behind and <strong>not using a FileUpload Control</strong>.</p>

<p>It is touched upon here..</p>

<p><a href="http://stackoverflow.com/questions/1131425/send-a-file-via-http-post-with-c">http://stackoverflow.com/questions/1131425/send-a-file-via-http-post-with-c</a></p>

<p>But, i'm looking for a more complete sample and one that ensures that other POST variables are maintained.</p>

<p>In fact this one might help..</p>

<p><a href="http://stackoverflow.com/questions/219827/multipart-forms-from-c-client">http://stackoverflow.com/questions/219827/multipart-forms-from-c-client</a></p>

<p><strong>UPDATE :</strong> 
Sorry.. Question is..</p>

<p>How do I send an image to a url via HTTP Post (without file upload control) along with other POST variables and have Request.Files pick it up at the destination url?</p>

<p><strong>SOLUTION</strong></p>

<p>In the end I solved it using the WebHelpers class here</p>

<p><a href="http://stackoverflow.com/questions/219827/multipart-forms-from-c-client">http://stackoverflow.com/questions/219827/multipart-forms-from-c-client</a></p>
