How to upload a file on server in c# in fast way
<pre><code>HttpWebRequest request = (HttpWebRequest)WebRequest.Create("request_uri_string");
FileStream fileStream = new FileStream("path_to_my_file", FileMode.Open, FileAccess.Read); 
Stream requestStream = request.GetRequestStream(); 
byte[] buffer = new Byte[checked((uint)Math.Min(4096, (int)fileStream.Length))];   
int bytesRead = 1;
while (bytesRead != 0)
{
    bytesRead = fileStream.Read(buffer, 0, buffer.Length);
    if (bytesRead &gt; 0)
    {
        requestStream.Write(buffer, 0, bytesRead);
    }
} 
request.Close(); 
fileStream .Close(); 
</code></pre>

<p>Currently I am using above code. </p>

<p>Is there any other approach better (means FAST) than this?</p>
