Comment 6 for bug 217975

Revision history for this message
Tim Kosse (tim-kosse) wrote :

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.