Class FTPCommand

java.lang.Object
org.apache.commons.net.ftp.FTPCommand

@Deprecated public final class FTPCommand extends 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 final int
    Deprecated.
    Command code 21.
    static final int
    Deprecated.
    Alias for 21.
    static final int
    Deprecated.
    Alias for 2.
    static final int
    Deprecated.
    Command code 2.
    static final int
    Deprecated.
    Command code 17.
    static final int
    Deprecated.
    Alias for 17.
    static final int
    Deprecated.
    Command code 16.
    static final int
    Deprecated.
    Alias for 16.
    static final int
    Deprecated.
    Command code 4.
    static final int
    Deprecated.
    Alias for 4.
    static final int
    Deprecated.
    Alias for 3.
    static final int
    Deprecated.
    Command code 3.
    static final int
    Deprecated.
    Alias for 8.
    static final int
    Deprecated.
    Command code 22.
    static final int
    Deprecated.
    Alias for 22.
    static final int
    Deprecated.
    Command code 37.
    static final int
    Deprecated.
    Command code 36.
    static final int
    Deprecated.
    Command code 34.
    static final int
    Deprecated.
    Alias for 34.
    static final int
    Deprecated.
    Alias for 11.
    static final int
    Deprecated.
    Alias for 33.
    static final int
    Deprecated.
    Command code 31.
    static final int
    Deprecated.
    Command code 26.
    static final int
    Deprecated.
    Alias for 7.
    static final int
    Deprecated.
    Alias for 24.
    static final int
    Deprecated.
    Command code 33.
    static final int
    Deprecated.
    Command code 35.
    static final int
    Deprecated.
    Command code 24.
    static final int
    Deprecated.
    Machine parseable list for a directory.
    static final int
    Deprecated.
    Machine parseable list for a single file.
    static final int
    Deprecated.
    Alias for 33.
    static final int
    Deprecated.
    Command code 12.
    static final int
    Deprecated.
    Alias for 27.
    static final int
    Deprecated.
    Command code 27.
    static final int
    Deprecated.
    Command code 32.
    static final int
    Deprecated.
    Command code 1.
    static final int
    Deprecated.
    Alias for 9.
    static final int
    Deprecated.
    Alias for 1.
    static final int
    Deprecated.
    Command code 9.
    static final int
    Deprecated.
    Command code 8.
    static final int
    Deprecated.
    Alias for 25.
    static final int
    Deprecated.
    Command code 25.
    static final int
    Deprecated.
    Command code 7.
    static final int
    Deprecated.
    Command code 6.
    static final int
    Deprecated.
    Alias for 6.
    static final int
    Deprecated.
    Alias for 23.
    static final int
    Deprecated.
    Alias for 19.
    static final int
    Deprecated.
    Alias for 20.
    static final int
    Deprecated.
    Alias for 10.
    static final int
    Deprecated.
    Command code 18.
    static final int
    Deprecated.
    Alias for 18.
    static final int
    Deprecated.
    Command code 13.
    static final int
    Deprecated.
    Alias for 13.
    static final int
    Deprecated.
    Command code 23.
    static final int
    Deprecated.
    Command code 19.
    static final int
    Deprecated.
    Command code 20.
    static final int
    Deprecated.
    Alias for 35.
    static final int
    Deprecated.
    Command code 28.
    static final int
    Deprecated.
    Alias for 28.
    static final int
    Deprecated.
    Command code 5.
    static final int
    Deprecated.
    Command code 30.
    static final int
    Deprecated.
    Alias for 30.
    static final int
    Deprecated.
    Command code 14.
    static final int
    Deprecated.
    Alias for 14.
    static final int
    Deprecated.
    Alias for 15.
    static final int
    Deprecated.
    Command code 15.
    static final int
    Deprecated.
    Command code 11.
    static final int
    Deprecated.
    Alias for 5.
    static final int
    Deprecated.
    Command code 29.
    static final int
    Deprecated.
    Alias for 29.
    static final int
    Deprecated.
    Alias for 12.
    static final int
    Deprecated.
    Command code 10.
    static final int
    Deprecated.
    Command code 0.
    static final int
    Deprecated.
    Alias for 0.
  • Method Summary

    Modifier and Type
    Method
    Description
    static 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