Hello,
I'm using ListFolderAsync() to fetch all files from particular folder of DropBox.
code : var list = await dbx.Files.ListFolderAsync(folderPath, true);
So,i am getting all path of files which is inside the folder and subfolders using PathDisplay.
code :
foreach (var item in list.Entries.Where(i => i.IsFile))
{ listBox1.Items.Add("Name :" + item.PathDisplay); }
But all file pathDisplay not coming in order means first few file path of main folder afterthat some subfolder file path and again main folder file paths, So how can i get filespath in order like first subfolder file paths and than main folder files paths?