Class FtpEvent

java.lang.Object
org.h2.dev.ftp.server.FtpEvent

public class FtpEvent extends Object
Describes an FTP event. This class is used by the FtpEventListener.
  • Method Details

    • getCommand

      public String getCommand()
      Get the FTP command. Example: RETR
      Returns:
      the command
    • getControl

      public FtpControl getControl()
      Get the FTP control object.
      Returns:
      the control object
    • getParam

      public String getParam()
      Get the parameter of the FTP command (if any).
      Returns:
      the parameter