Saturday, September 1, 2018

File upload direct on server folder and sub folder

Folder direct on server

FileUpload1.SaveAs(Server.MapPath("~") + "//maildata//" + FileUpload1.FileName);




Folder inside sub folder 

 FileUpload1.SaveAs(Server.MapPath(@"~/Admin/") + "//impact//" + FileUpload1.FileName);


  Label1.Text = FileUpload1.FileName;

No comments:

Post a Comment

Cookies login

  Match login id and password using cookies under 1 minutes if user not input valid I'd pass in 1 min then cookies expired and go to hom...