Hi,
In my application I use below code to upload a file to the server.
response = (HttpWebResponse)request.GetResponse();
where request.Method is "PUT".
Is there a way to get the number of bytes uploaded to the server.
Thanks in advance
Hi,
In my application I use below code to upload a file to the server.
response = (HttpWebResponse)request.GetResponse();
where request.Method is "PUT".
Is there a way to get the number of bytes uploaded to the server.
Thanks in advance
why you can't try with WebClient
E.g:
WebClient wc = new WebClient();
byte[] s = wc.UploadFile("string address", "string fileName");