My existing page has upload button and can do upload feature using post method and finally add the files from HttpRequest to HttpPostedFileBase. This works fine.
My issue is
Have to do upload but not through drag and drops or selecting from the folder. Instead, i need to attach the local file into HttpPostedFileBase.
HttpPostedFileBase fileBase = load file using File.Open(path, FileMode.Open);
I know it is not possible because it's abstract class. My issue is i have to use HttpPostedFileBase but i need to load a local file into it.