WebClient dailyClient = new WebClient();
if (dailyClient.IsBusy) { dailyClient.CancelAsync(); }
dailyClient.UploadFileAsync(new Uri(remoteDailyPath + "/" + paperName), "PUT", tempPath);
dailyClient.UploadFileCompleted += new UploadFileCompletedEventHandler(dailyClient_UploadFileCompleted);
c# WebClient上传文件到远程服务器
最新推荐文章于 2024-06-26 13:46:12 发布