.Net读取网络文件并下载到本地
1 WebClient wc = new WebClient(); 2 wc.Credentials = new System.Net.NetworkCredential(SPUserName, SPPassword); 3 wc.DownloadFile(SourceFileUri, TargetFileFullPath);
【原文出处】
1 WebClient wc = new WebClient(); 2 wc.Credentials = new System.Net.NetworkCredential(SPUserName, SPPassword); 3 wc.DownloadFile(SourceFileUri, TargetFileFullPath);
【原文出处】