I want to upload an image to file but there is an exception as "The SaveAs method is configured to require a rooted path, and the path '../TempCharcoal/IMG_0153.JPG' is not rooted."
Here is my simple code:
if (fuImage.HasFile)
{
fuImage.SaveAs("../TempCharcoal/IMG_0153.JPG");
}
I want to upload it in CharcoalForm.aspx to TempCharcoal folder. You can see that they are in the same root but I don't know what is wrong.