Save uploaded file


/ Published in: C#
Save to your folder(s)



Copy this code and paste it in your HTML
  1. if (fuLogo.HasFile)
  2. {
  3. var destination = Path.Combine(System.Configuration.ConfigurationManager.AppSettings["TeamMemberPhotosPath"], fuLogo.FileName);
  4. fuLogo.PostedFile.SaveAs(destination);
  5. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.