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

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

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: Core, Ftplets
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: