string savePath = Server.MapPath("~/upLoadAdv/"); if (FileUpload1.HasFile == null) Response.Write(""); }