FtpServer
  1. FtpServer
  2. FTPSERVER-253

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

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major 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.

        Activity

        Sai Pullabhotla made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Sai Pullabhotla made changes -
        Field Original Value New Value
        Attachment FTPSERVER-253_Patch.txt [ 12404668 ]
        Sai Pullabhotla created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development