//string sPath = Server.MapPath("AA") + "\\" + FileUpload1.FileName;//先获取AA文件夹的当前物理路径,然后拼字符串获取FileUpload1控件的名称
string sPath2 = Server.MapPath("AA") + "\\" + DateTime.Now.ToString("yyyyMMddHHmmss") + System.IO.Path.GetExtension(FileUpload1.FileName);//获取系统当期时间 获取FileUpload1的后缀名
//Response.Write(sPath);
FileUpload1.SaveAs(sPath2);//按路径sPath2进行上传,上传到AA文件夹下