Hi,
I am trying to browse folders inside particular location.
The below code is working fine locally. After deploying to IIS its taking the server files and location.
Please suggest me where i am wrong.? I need to access the local pc folders and files.
List<string> destDir1 = System.IO.Directory.GetDirectories("C:/users/", "*",
SearchOption.AllDirectories).Where(f => Regex.IsMatch(f, @"[\\/]\d+$")).ToList();
I am giving the Path in the input field. I want to browse files inside the local machine and fetch it for me..
since i got the idea about fileupload scenario. We take the Files and upload it from client system.
In similar way i want to achieve for my requirement.
This requirement is working fine in Windows Application. But i want it to be working in Web.