1.大文件上传
currentMillionSecond
=
server.getCurMillsForFileName();
string url = MyConstValue.ServerAddress + " /shpfileuploadservlet?fileName= " + currentMillionSecond + " .shp " ;
System.Net.WebClient clientShp = new System.Net.WebClient();
Uri uri = new Uri(url);
clientShp.UploadFileAsync(uri, this .textBoxFile1.Text);
string url = MyConstValue.ServerAddress + " /shpfileuploadservlet?fileName= " + currentMillionSecond + " .shp " ;
System.Net.WebClient clientShp = new System.Net.WebClient();
Uri uri = new Uri(url);
clientShp.UploadFileAsync(uri, this .textBoxFile1.Text);