I am trying to find a way to get the file size of the file I am downloading while using the batch .GetFiles operation.
I have used your example to recursively get each file by listing all the files, and calling .GetFiles on individual files, and that works well using the RemoteFileInfo.Length property
The problem with that approach is that the .OverallProgress of the downloading will always be equal to the .FileProgress. Ideally i would like to be able to display the file size of each file getting downloaded, the file progress, and the overall progress
All your can do, once you have the recursive download core ready, is to calculate total tree size, while recursing the tree. And download files only after that (either by recursing again or collecting a file list in the first recursion).