automatically do FTPS on passive ports, if Session is implict FTPS
------------------------------------------------------------------

                 Key: FTPSERVER-244
                 URL: https://issues.apache.org/jira/browse/FTPSERVER-244
             Project: FtpServer
          Issue Type: Bug
    Affects Versions: 1.0.0-M4
         Environment: Client PowerTCP alias DartFTP, implicit FTPS
            Reporter: Jörg Schubert


I had some trouble with DartFTP as client in implicit ftps mode. The client 
expects, that the data channel is automatically secure, when the control 
channel is ssl. It does not issue a PROT command.

I know there is no clean spec for implicit ftps.

I fixed it in the constructor of IODataConnectionFactory, but maybe this 
behaviour should be configurable:

    public IODataConnectionFactory(final FtpServerContext serverContext,
            final FtpIoSession session) {
        this.session = session;
        this.serverContext = serverContext;
        // implicitly preset security
        this.secure=session.isSecure();
    }



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to