//文件远程下载
WebClient client = new WebClient();
Uri uri = new Uri(url);
client.DownloadFile(Uri uri,String filename);
//文件一定得存在不然会报错所以在删除文件时先判断这个文件是否存在
File.Exists(filePath)
File.Delete(filePath); //File对文件的操作
File.Move(sourceFile,destFile);//文件的移动
//是否存在此文件夹
Directory.Exists(folderPath);//对文件夹的操作
//创建文件夹
Directory.CreateDirectory(folderPath)