Click here to Skip to main content
15,916,693 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
how do i get the tree of my FTPDirectory.
My FTPDirectory consists of files directories and sub directories.
Posted
Updated 14-Apr-13 4:51am
v2

1 solution

You have to read the folders recursively yourself - FTP does not provide any mechanism for reading folder content, and subfolders at the same time.

But it isn't difficult: just read the folder, and recurse through those that come back as directories. Building the tree structure is the harder part! :laugh:
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900