How do you replicate a traditional POST form (file post) in code, the end goal is to stream a byte array as the file into the posted form, the example below is the form that I am trying to replicate in code.
<form method="POST" action="http://export.writer.zoho.com/remotedoc.im?apikey=[apikey]&output=editor" enctype="multipart/form-data" target="_self">
<input type="file" name="content" size="38"> <br>
<input type="hidden" name="filename" value="mydocument.doc">
<input type="hidden" name="saveurl" value="[REMOTE SERVER SAVE URL]">
<input type="hidden" name="id" value="12345678">
<input type="hidden" name="format" value="doc">
<input type="submit" value="Edit" class="divbutton" name="submit">
</form>