Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-399

DefaultFtpHandler.sessionOpened does not check if the Ftplet returned a FtpletResult.SKIP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.5
    • 1.1.2
    • Core
    • None

    Description

      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.

      Attachments

        Activity

          People

            psai Sai Pullabhotla
            psai Sai Pullabhotla
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: