asp.net - File get from local paths in C# -


i have code below code file file input in view im mvc project. have files in local folder. want read these files without use file input in view. have local paths of files. dont know how can change file string file

public static string uploadfile(string category = "external", string guid = null)         {             string result = "";              httppostedfile file = httpcontext.current.request.files.get(0);              result = save(file.contenttype, category, guid, null, file);             if (file_save_error.equals(result))                 return result;             if (string.isnullorempty(result))                 return result;              return result + ";" + category;         } 

how can solve problem, in advance


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -