No. Since "LIST -a" is not standardized, a corresponding line for the FEAT reply isn't standardized either.
You could use heuristics to test for LIST -a support (e.g. list same directory twice, first with LIST then with LIST -a and check that the second listing is a superset of the first). But as with all heuristics, they can result in failures. In the worst case, the heuristic reports support for LIST -a on a server not supporting it, causing further problems. The only fool-proof solution is to contact the server administrator so that he can properly configure the server or alternatively install a better one. If you really want to use LIST -a, use a heuristic and make it so that the user has to explicitly enable it, together with a big warning explaining the problem. Remark: Some servers, e.g. vsftpd, rely on unspecified LIST -a support. force_dot_files=YES should be added to the default configuration so that no new server installations use this broken behavior. -- Cannot show/delete hidden files or delete folders that contains hidden files on FTP https://bugs.launchpad.net/bugs/217975 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
