标签:
WebClient wc = new WebClient();
FileStream fs = new FileStream(“文件地址+文件名+或拓展名”, FileMode.Open, FileAccess.Read);
byte[] bt = new byte[fs.Length];
fs.Read(bt, 0, bt.Length);
wc.UploadData(filepath, "PUT", bt);
标签:
原文地址:http://www.cnblogs.com/lqqqiaoqiao/p/4956707.html