Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.3k views
in .NET FTP by (160 points)
Dear support,

I am avaluating edtFTPnet/PRO. I want to get list of all files and subdirectories in a directory. To get file list for SFTP sever I use SecureFTPConnection.GetFiles(string pathToDirectory).
How can I get list of subdirectories?

Thanks.

2 Answers

0 votes
by (162k points)
Use GetFileInfos(string directory, bool includeSubdirectories)

and set includeSubdirectories to true.
0 votes
by (160 points)
Thanks!

Categories

...