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

Enhance the Ftplet.afterCommand to provide more information about the result of command execution

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • Core, Ftplets
    • None

    Description

      It would be nice to enhance the afterCommand method in the Ftplet to provide additional details about the result of command execution. Currently the afterCommand method of an Ftplet is called back with the following parameters -

      FtpSession, FtpRequest and FtpReply. The FtpReply parameter contains only the reply code and the reply string that was sent. The Ftplets may want to know a little more information on what exactly happened to the command that was executed. For example, the afterCommand for RNTO command might want to know the from file, the to file and if the command was successful or not.

      More information on this can be found at http://www.mail-archive.com/ftpserver-users@mina.apache.org/msg00512.html.

      Attachments

        1. FTPSERVER-253_Patch.txt
          80 kB
          Sai Pullabhotla

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: