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; }
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; }