Re: Followup
Thanks for sharing your solution.
Though I do not understand why you are even using
Just use
I even better, use
Though I do not understand why you are even using
Session.GetFileInfo
. It seems ineffective.
Just use
Session.ListDirectory
to get entries in /SD1
(and later its subfolders), including information whether they are files or folders.
I even better, use
Session.EnumerateRemoteFiles
.