Stream stream = file.InputStream;
file.SaveAs(physicalPath);
BinaryReader b = new BinaryReader(file.InputStream);
byte[] fileData = b.ReadBytes(file.ContentLength);
var wc = new WebClient();
wc.Headers.Add("Authorization", "Bearer "+ AccessToken);
byte[] response = wc.UploadData(url, "PUT", fileData);
string s = wc.Encoding.GetString(response);
var obj = JObject.Parse(s);
Above code is not working with Large Files
In web.config i have updated
still not working
Ankit SharmaPosted Sep 26, 2017, 4:49 AM
JohnPosted Sep 26, 2017, 2:00 AM
Nikunj SatasiyaPosted Sep 23, 2017, 3:02 AM