Skip to content

LIST command with -a #6

Description

@m-obi

Hey,

some FTP clients use "LIST -a" to list all in the root dir.
So I added it to FtpControlConnection::stripFlagL.
QString FtpControlConnection::stripFlagL(const QString &fileName) { QString a = fileName.toUpper(); if (a == "-L" || a == "-A") { return ""; } if (a.startsWith("-L ")) { return fileName.mid(3); } return fileName; }

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