org.apache.commons.net.ftp

Class FTPSCommand

public final class FTPSCommand extends Object

I acquire a command added in FTPS.

Since: 2.0

Field Summary
static intADAT
static intAUTH
static intAUTHENTICATION_SECURITY_DATA
static intAUTHENTICATION_SECURITY_MECHANISM
static intCCC
static intCLEAR_COMMAND_CHANNEL
static intDATA_CHANNEL_PROTECTION_LEVEL
static intPBSZ
static intPROT
static intPROTECTION_BUFFER_SIZE
Method Summary
static StringgetCommand(int command)
Retrieve the FTPS command string corresponding to a specified command code.

Field Detail

ADAT

public static final int ADAT

AUTH

public static final int AUTH

AUTHENTICATION_SECURITY_DATA

public static final int AUTHENTICATION_SECURITY_DATA

AUTHENTICATION_SECURITY_MECHANISM

public static final int AUTHENTICATION_SECURITY_MECHANISM

CCC

public static final int CCC

CLEAR_COMMAND_CHANNEL

public static final int CLEAR_COMMAND_CHANNEL

DATA_CHANNEL_PROTECTION_LEVEL

public static final int DATA_CHANNEL_PROTECTION_LEVEL

PBSZ

public static final int PBSZ

PROT

public static final int PROT

PROTECTION_BUFFER_SIZE

public static final int PROTECTION_BUFFER_SIZE

Method Detail

getCommand

public static final String getCommand(int command)
Retrieve the FTPS command string corresponding to a specified command code.

Parameters: command The command code.

Returns: The FTPS command string corresponding to a specified command code.