Subject: How we get list of files/directories from root directory
Date: 2016-04-20 08:09:30
From: shivraj mujumale
Source: get-list-files-directories-root-directory


How can I get list of files and directories from root directory?

I have write following code. Its not getting list of files and directories.


                    SftpFileInfoCollection files = (SftpFileInfoCollection)remoteSession.ListDirectory();
                    foreach (SftpFileInfo file in files)
---------------------------------------------------------------------- Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor who sold you the license and ask for your money back. Back to ComponentPro Q&A Forum Index