mardi 12 janvier 2016

File uploading on live server failing

  byte[] bytes = Convert.FromBase64String(Picture);


    System.IO.File.WriteAllBytes(Server.MapPath("~/Content/" + Name), bytes);

This code work wlel on local server but when i try to run it on live server this give error and file is not uploading in content folder.

Aucun commentaire:

Enregistrer un commentaire