[
https://issues.apache.org/jira/browse/FTPSERVER-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lécharny updated FTPSERVER-399:
----------------------------------------
Fix Version/s: 1.1.5
(was: 1.1.2)
> DefaultFtpHandler.sessionOpened does not check if the Ftplet returned a
> FtpletResult.SKIP
> -----------------------------------------------------------------------------------------
>
> Key: FTPSERVER-399
> URL: https://issues.apache.org/jira/browse/FTPSERVER-399
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.5
> Reporter: Sai Pullabhotla
> Assignee: Sai Pullabhotla
> Priority: Major
> Fix For: 1.1.5
>
>
> I was trying to use an Ftplet to send a custom welcome message using the
> Ftplet.onConnect. Within this method, I write a 220 reply to the client with
> my custom message, and return FtpletResult.SKIP. I expect that the server
> would not send the default welcome message, but it does it any how. When I
> looked at the server code, the DefaultFtpHandler does not handle the
> FtpletResult.SKIP case. I think it needs to be updated so a welcome message
> is sent only if the Ftplet returned DEFAULT result.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]