I have an action method on which i post the file and then , i need to upload or save this file on server in some temp location and read the data from that file.
public static string UploadFile(HttpPostedFileBase file)
{
file.SaveAs(tempfileuploadpath);
}
Now when i write above code, does this mean that now the content of file would be read from the tempfileuploadpath or it will still be holding the reference to user local upload directory.
Please help.I am new to this :)