How to access a file from a client to a server
<pre><code>private void BtnInsert_Click(object sender, EventArgs e)
{
        {


            string strDir = "http://200.100.0.50/chandu/abc.txt";
            if (!File.Exists(strDir))
            {
                File.Create(strDir);
            }
        }
}
</code></pre>

<p>I am inserting records in form that will be stored in the server in drive C: but get <em>URI format was not in the correct format</em> error.</p>
