foreach (RemoteFileInfo fileInfo in directory.Files)
session.GetFiles(remoteFTPDirectory + fileInfo.Name, localPath + fileInfo.Name, false, transferOptions).Check();
Unless somebody has a better idea.
I have a process where I download every existing file in a directory. Say I have:
I only want readme.txt but with ListDirectory I get everything in Pub as well. Is there a way to prevent this drill down behavior?