1: 2: 3:
String path = Path.Combine(MapPath("~/Folder"), Guid.NewGuid() + Path.GetExtension(FileUpload1.FileName)); FileUpload1.SaveAs(path );