WebClient dailyClient = new WebClient(); if (dailyClient.IsBusy) { dailyClient.CancelAsync(); } dailyClient.UploadFileAsync(new Uri(remoteDailyPath + "/" + paperName), "PUT", tempPath); dailyClient.UploadFileCompleted += new UploadFileCompletedEventHandler(dailyClient_UploadFileCompleted);
版权声明:本文为博主原创文章,未经博主允许不得转载。