ariez88 -4 Light Poster

This code is working fine but opening folder on windows explorer, what i want is to open the folder on webpage. The folder is present on a FTP server named "SAN".What changes should be made in this code?????

THANX.....

//// Opening Respective Folder of a User ////
                DirectoryInfo directories = new DirectoryInfo(@"C:\\Inetpub\\ftproot\\san\\");
                DirectoryInfo[] folderList = directories.GetDirectories();

                int folder_count = folderList.Length;
                for ( int j = 0; j < folder_count; j++)
                   if (Convert.ToString(folderList[j]) == id.Text)
                    {
                       Process p = new Process();
                       string path = Path.Combine(@"C:\\Inetpub\\ftproot\\san\\",id.Text);
                       p.StartInfo.FileName = path;
                       p.Start();

                   }
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.