In my project, I have a fileupload control for user to upload their document and I want to provide a link to user to open their files.
steps: after user upload a file, my web will create a link for it when user click on that link, the container folder of that file will open.
For example, a file which its path is C:\Users\John\Downloads\jpg\a.jpg
uploaded to the fileupload control. when user click on the link of that file, a folder C:\Users\John\Downloads\jpg
will be opened.
To get the file path:
string filePath = FileUpload1.PostedFile.FileName; // file name with path.
So, how can I open a folder in client PC by C#?