实现文件向服务器的上传及下载stringfileName=fileNamePath.Substring(fileNamePath.LastIndexOf("\\")+1);NewFileName=DateTime.Now.ToString("yyMMddhhmmss")+DateTime.Now.Millisecond.ToString()+fileNamePath.Substring(fileNamePath.LastIndexOf("."));stringfileNameExt=fileName.Substring(fileName.LastInd