Skip to content

GetListingEnumerable Ignores FtpListOption.IncludeSelfAndParent flag #1854

@Atomosk

Description

@Atomosk

I think adding return false; here will fix it.

But on a large scale I think there are more problems. LoadBasicListingInfo method has side effects. It resets the i parameter and clears the lst parameter in some cases. Which will in turn cause GetListingEnumerable to return duplicates. Maybe it's worth the effort to elevate those side effects to their calling functions and completely remove lst and i parameters, I don't know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions