AI OnAI Off
If I'm not mistaken there is a filesystemdatasource control that you can use. I think you can specify the depth you're intrested in.
Check the sdk.
Or make your own function
void GetAllFiles(UnifiedDirectory start, List<UnifiedFile> files) foreach (UnifiedFile file in start.GetFiles())
{
{
files.Add(file);
}
foreach (UnifiedDirectory dir in start.GetDirectories())
{
GetAllFiles(dir, files);
}
}
Is it possible to retrive all files in an directory and it's subdirectories? Let's say we have the following structue:
root
folder A
File A-A
File A-B
folder B
File B-A
Can i retrive all these files (File A-A, File A-B, File B-A ect) if I only have the root-path?