Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
Hi,
I need to list all the FILES even in subfolders from ftp through c#. How to do this?
Posted

1 solution

Step by step.

You cannot get a tree of folders and files, so you have to ask for a list of files [and subfolders] of a specific folder.

But it's actually quite simple to implement, as well as it is faster (to load only 1 or a couple of levels at a time)

Cheers,
Edo

[if you need sample code for simple FTP actions, just post a reply here or a new question]
 
Share this answer
 
v2

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