public ActionResult DownloadFile() { //FtpConfig config = FtpConfigManager.GetDefaultConfig(); string serverFileName = @"F:\WSH.Literature\语录词汇\词汇.txt"; WebDownload download = new WebDownload(); download.DownloadFtpFile("SI/MemberOpen/dc7741b80523436980b1412b7dc5b631.jpg"); //WebUpload upload = new WebUpload(Request.Files[0]); //string newFileName=upload.UploadFtp("SI/MemberOpen"); return(View()); }