[
https://issues.apache.org/jira/browse/FTPSERVER-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13139609#comment-13139609
]
Niklas Gustavsson commented on FTPSERVER-426:
---------------------------------------------
Could you please provide an example of such a client? The ones I've tested all
issue the FEAT only after authenticating.
> Most ftp-clients sends FEAT before authentication
> -------------------------------------------------
>
> Key: FTPSERVER-426
> URL: https://issues.apache.org/jira/browse/FTPSERVER-426
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.5, 1.0.6, 1.1.0
> Reporter: Alexey Myasnikov
>
> Most clients sends FEAT command before authentication. So, it should be
> listed in NON_AUTHENTICATED_COMMANDS in
> org.apache.ftpserver.impl.DefaultFtpHandler. Please, find the patch below.
> --- a/core/src/main/java/org/apache/ftpserver/impl/DefaultFtpHandler.java
> +++ b/core/src/main/java/org/apache/ftpserver/impl/DefaultFtpHandler.java
> @@ -48,7 +48,7 @@ public class DefaultFtpHandler implements FtpHandler {
> private final Logger LOG =
> LoggerFactory.getLogger(DefaultFtpHandler.class);
>
> private final static String[] NON_AUTHENTICATED_COMMANDS = new String[] {
> - "USER", "PASS", "AUTH", "QUIT", "PROT", "PBSZ" };
> + "USER", "PASS", "AUTH", "QUIT", "PROT", "PBSZ", "FEAT" };
>
> private FtpServerContext context;
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira