Enum Class FTPCmd

java.lang.Object
java.lang.Enum<FTPCmd>
org.apache.commons.net.ftp.FTPCmd
All Implemented Interfaces:
Serializable, Comparable<FTPCmd>, Constable

public enum FTPCmd extends Enum<FTPCmd>
Since:
3.3
  • Enum Constant Details

    • ABOR

      public static final FTPCmd ABOR
      FTP command.
    • ACCT

      public static final FTPCmd ACCT
      FTP command.
    • ALLO

      public static final FTPCmd ALLO
      FTP command.
    • APPE

      public static final FTPCmd APPE
      FTP command.
    • CDUP

      public static final FTPCmd CDUP
      FTP command.
    • CWD

      public static final FTPCmd CWD
      FTP command.
    • DELE

      public static final FTPCmd DELE
      FTP command.
    • EPRT

      public static final FTPCmd EPRT
      FTP command.
    • EPSV

      public static final FTPCmd EPSV
      FTP command.
    • FEAT

      public static final FTPCmd FEAT
      FTP command.
    • HELP

      public static final FTPCmd HELP
      FTP command.
    • LIST

      public static final FTPCmd LIST
      FTP command.
    • MDTM

      public static final FTPCmd MDTM
      FTP command.
    • MFMT

      public static final FTPCmd MFMT
      FTP command.
    • MKD

      public static final FTPCmd MKD
      FTP command.
    • MLSD

      public static final FTPCmd MLSD
      FTP command.
    • MLST

      public static final FTPCmd MLST
      FTP command.
    • MODE

      public static final FTPCmd MODE
      FTP command.
    • NLST

      public static final FTPCmd NLST
      FTP command.
    • NOOP

      public static final FTPCmd NOOP
      FTP command.
    • PASS

      public static final FTPCmd PASS
      FTP command.
    • PASV

      public static final FTPCmd PASV
      FTP command.
    • PORT

      public static final FTPCmd PORT
      FTP command.
    • PWD

      public static final FTPCmd PWD
      FTP command.
    • QUIT

      public static final FTPCmd QUIT
      FTP command.
    • REIN

      public static final FTPCmd REIN
      FTP command.
    • REST

      public static final FTPCmd REST
      FTP command.
    • RETR

      public static final FTPCmd RETR
      FTP command.
    • RMD

      public static final FTPCmd RMD
      FTP command.
    • RNFR

      public static final FTPCmd RNFR
      FTP command.
    • RNTO

      public static final FTPCmd RNTO
      FTP command.
    • SITE

      public static final FTPCmd SITE
      FTP command.
    • SIZE

      public static final FTPCmd SIZE
      Since:
      3.7
    • SMNT

      public static final FTPCmd SMNT
      FTP command.
    • STAT

      public static final FTPCmd STAT
      FTP command.
    • STOR

      public static final FTPCmd STOR
      FTP command.
    • STOU

      public static final FTPCmd STOU
      FTP command.
    • STRU

      public static final FTPCmd STRU
      FTP command.
    • SYST

      public static final FTPCmd SYST
      FTP command.
    • TYPE

      public static final FTPCmd TYPE
      FTP command.
    • USER

      public static final FTPCmd USER
      FTP command.
  • Field Details

    • ABORT

      public static final FTPCmd ABORT
      Alias.
    • ACCOUNT

      public static final FTPCmd ACCOUNT
      Alias.
    • ALLOCATE

      public static final FTPCmd ALLOCATE
      Alias.
    • APPEND

      public static final FTPCmd APPEND
      Alias.
    • CHANGE_TO_PARENT_DIRECTORY

      public static final FTPCmd CHANGE_TO_PARENT_DIRECTORY
      Alias.
    • CHANGE_WORKING_DIRECTORY

      public static final FTPCmd CHANGE_WORKING_DIRECTORY
      Alias.
    • DATA_PORT

      public static final FTPCmd DATA_PORT
      Alias.
    • DELETE

      public static final FTPCmd DELETE
      Alias.
    • FEATURES

      public static final FTPCmd FEATURES
      Alias.
    • FILE_STRUCTURE

      public static final FTPCmd FILE_STRUCTURE
      Alias.
    • GET_MOD_TIME

      public static final FTPCmd GET_MOD_TIME
      Alias.
    • LOGOUT

      public static final FTPCmd LOGOUT
      Alias.
    • MAKE_DIRECTORY

      public static final FTPCmd MAKE_DIRECTORY
      Alias.
    • MOD_TIME

      public static final FTPCmd MOD_TIME
      Alias.
    • NAME_LIST

      public static final FTPCmd NAME_LIST
      Alias.
    • PASSIVE

      public static final FTPCmd PASSIVE
      Alias.
    • PASSWORD

      public static final FTPCmd PASSWORD
      Alias.
    • REINITIALIZE

      public static final FTPCmd REINITIALIZE
      Alias.
    • REMOVE_DIRECTORY

      public static final FTPCmd REMOVE_DIRECTORY
      Alias.
    • RENAME_FROM

      public static final FTPCmd RENAME_FROM
      Alias.
    • RENAME_TO

      public static final FTPCmd RENAME_TO
      Alias.
    • REPRESENTATION_TYPE

      public static final FTPCmd REPRESENTATION_TYPE
      Alias.
    • RESTART

      public static final FTPCmd RESTART
      Alias.
    • RETRIEVE

      public static final FTPCmd RETRIEVE
      Alias.
    • SET_MOD_TIME

      public static final FTPCmd SET_MOD_TIME
      Alias.
    • SITE_PARAMETERS

      public static final FTPCmd SITE_PARAMETERS
      Alias.
    • STATUS

      public static final FTPCmd STATUS
      Alias.
    • STORE

      public static final FTPCmd STORE
      Alias.
    • STORE_UNIQUE

      public static final FTPCmd STORE_UNIQUE
      Alias.
    • STRUCTURE_MOUNT

      public static final FTPCmd STRUCTURE_MOUNT
      Alias.
    • SYSTEM

      public static final FTPCmd SYSTEM
      Alias.
    • TRANSFER_MODE

      public static final FTPCmd TRANSFER_MODE
      Alias.
    • USERNAME

      public static final FTPCmd USERNAME
      Alias.
  • Constructor Details

    • FTPCmd

      private FTPCmd()
  • Method Details

    • values

      public static FTPCmd[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FTPCmd valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCommand

      public final String getCommand()
      Retrieve the FTP protocol command string corresponding to a specified command code.
      Returns:
      The FTP protcol command string corresponding to a specified command code.