Our Products:
CompleteFTP
edtFTPnet/Free
edtFTPnet/PRO
edtFTPj/Free
edtFTPj/PRO
Login
Remember
Google Login
Register
All Activity
Questions
Hot!
Unanswered
Tags
Categories
Ask a Question
Ask a Question
How can I get list of subdirectories?
0
votes
3.3k
views
asked
Jul 4, 2010
in
.NET FTP
by
olexa_k
(
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.
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
2
Answers
0
votes
answered
Jul 5, 2010
by
support2
(
162k
points)
Use GetFileInfos(string directory, bool includeSubdirectories)
and set includeSubdirectories to true.
Please
log in
or
register
to add a comment.
0
votes
answered
Jul 5, 2010
by
olexa_k
(
160
points)
Thanks!
Please
log in
or
register
to add a comment.
Categories
All categories
Products
(2.8k)
CompleteFTP
(418)
Java FTP
(1k)
.NET FTP
(1.4k)
FAQ
(120)
General
(178)
Feature Requests
(21)
...