Class FTPCommand


  • @Deprecated
    public final class FTPCommand
    extends java.lang.Object
    Deprecated.
    use FTPCmd instead
    FTPCommand stores a set of constants for FTP command codes. To interpret the meaning of the codes, familiarity with RFC 959 is assumed. The mnemonic constant names are transcriptions from the code descriptions of RFC 959. For those who think in terms of the actual FTP commands, a set of constants such as USER are provided where the constant name is the same as the FTP command.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ABOR
      Deprecated.
       
      static int ABORT
      Deprecated.
       
      static int ACCOUNT
      Deprecated.
       
      static int ACCT
      Deprecated.
       
      static int ALLO
      Deprecated.
       
      static int ALLOCATE
      Deprecated.
       
      static int APPE
      Deprecated.
       
      static int APPEND
      Deprecated.
       
      static int CDUP
      Deprecated.
       
      static int CHANGE_TO_PARENT_DIRECTORY
      Deprecated.
       
      static int CHANGE_WORKING_DIRECTORY
      Deprecated.
       
      static int CWD
      Deprecated.
       
      static int DATA_PORT
      Deprecated.
       
      static int DELE
      Deprecated.
       
      static int DELETE
      Deprecated.
       
      static int EPRT
      Deprecated.
       
      static int EPSV
      Deprecated.
       
      static int FEAT
      Deprecated.
       
      static int FEATURES
      Deprecated.
       
      static int FILE_STRUCTURE
      Deprecated.
       
      static int GET_MOD_TIME
      Deprecated.
       
      static int HELP
      Deprecated.
       
      static int LIST
      Deprecated.
       
      static int LOGOUT
      Deprecated.
       
      static int MAKE_DIRECTORY
      Deprecated.
       
      static int MDTM
      Deprecated.
       
      static int MFMT
      Deprecated.
       
      static int MKD
      Deprecated.
       
      static int MLSD
      Deprecated.
      Machine parseable list for a directory
      static int MLST
      Deprecated.
      Machine parseable list for a single file
      static int MOD_TIME
      Deprecated.
       
      static int MODE
      Deprecated.
       
      static int NAME_LIST
      Deprecated.
       
      static int NLST
      Deprecated.
       
      static int NOOP
      Deprecated.
       
      static int PASS
      Deprecated.
       
      static int PASSIVE
      Deprecated.
       
      static int PASSWORD
      Deprecated.
       
      static int PASV
      Deprecated.
       
      static int PORT
      Deprecated.
       
      static int PRINT_WORKING_DIRECTORY
      Deprecated.
       
      static int PWD
      Deprecated.
       
      static int QUIT
      Deprecated.
       
      static int REIN
      Deprecated.
       
      static int REINITIALIZE
      Deprecated.
       
      static int REMOVE_DIRECTORY
      Deprecated.
       
      static int RENAME_FROM
      Deprecated.
       
      static int RENAME_TO
      Deprecated.
       
      static int REPRESENTATION_TYPE
      Deprecated.
       
      static int REST
      Deprecated.
       
      static int RESTART
      Deprecated.
       
      static int RETR
      Deprecated.
       
      static int RETRIEVE
      Deprecated.
       
      static int RMD
      Deprecated.
       
      static int RNFR
      Deprecated.
       
      static int RNTO
      Deprecated.
       
      static int SET_MOD_TIME
      Deprecated.
       
      static int SITE
      Deprecated.
       
      static int SITE_PARAMETERS
      Deprecated.
       
      static int SMNT
      Deprecated.
       
      static int STAT
      Deprecated.
       
      static int STATUS
      Deprecated.
       
      static int STOR
      Deprecated.
       
      static int STORE
      Deprecated.
       
      static int STORE_UNIQUE
      Deprecated.
       
      static int STOU
      Deprecated.
       
      static int STRU
      Deprecated.
       
      static int STRUCTURE_MOUNT
      Deprecated.
       
      static int SYST
      Deprecated.
       
      static int SYSTEM
      Deprecated.
       
      static int TRANSFER_MODE
      Deprecated.
       
      static int TYPE
      Deprecated.
       
      static int USER
      Deprecated.
       
      static int USERNAME
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static java.lang.String getCommand​(int command)
      Deprecated.
      Retrieve the FTP protocol command string corresponding to a specified command code.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait