Upload files using ASP.NET
<pre><code>&lt;form action="http://s0.filesonic.com/abc" method="post" enctype="multipart/form-data"&gt;
    &lt;input type="file" name="files[]" /&gt;
    &lt;button type="submit"&gt;submit&lt;/button&gt;
&lt;/form&gt;
</code></pre>

<p>The above code uploads the files to file sonic server, but I want to do this using programmatically using C#, basically my requirement is that the program creates the form and file control and sends the file to the Filesonic server URL mentioned in action attribute..</p>

<p>I have gone through many links but with no success, I have gone through the following links with no success.</p>

<p>Upload files with HTTPWebrequest (multipart/form-data)</p>
