ORO, Inc. Logo  All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.oroinc.net.ftp.FTPCommand

java.lang.Object
   |
   +----com.oroinc.net.ftp.FTPCommand

public final class FTPCommand
extends Object
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.

Copyright © 1997 Original Reusable Objects, Inc. All rights reserved.


Variable Index

 o ABOR
 o ABORT
 o ACCOUNT
 o ACCT
 o ALLO
 o ALLOCATE
 o APPE
 o APPEND
 o CDUP
 o CHANGE_TO_PARENT_DIRECTORY
 o CHANGE_WORKING_DIRECTORY
 o CWD
 o DATA_PORT
 o DELE
 o DELETE
 o FILE_STRUCTURE
 o HELP
 o LIST
 o LOGOUT
 o MAKE_DIRECTORY
 o MKD
 o MODE
 o NAME_LIST
 o NLST
 o NOOP
 o PASS
 o PASSIVE
 o PASSWORD
 o PASV
 o PORT
 o PRINT_WORKING_DIRECTORY
 o PWD
 o QUIT
 o REIN
 o REINITIALIZE
 o REMOVE_DIRECTORY
 o RENAME_FROM
 o RENAME_TO
 o REPRESENTATION_TYPE
 o REST
 o RESTART
 o RETR
 o RETRIEVE
 o RMD
 o RNFR
 o RNTO
 o SITE
 o SITE_PARAMETERS
 o SMNT
 o STAT
 o STATUS
 o STOR
 o STORE
 o STORE_UNIQUE
 o STOU
 o STRU
 o STRUCTURE_MOUNT
 o SYST
 o SYSTEM
 o TRANSFER_MODE
 o TYPE
 o USER
 o USERNAME

Method Index

 o getCommand(int)
Retrieve the FTP protocol command string corresponding to a specified command code.

Variables

 o USER
 public static final int USER
 o PASS
 public static final int PASS
 o ACCT
 public static final int ACCT
 o CWD
 public static final int CWD
 o CDUP
 public static final int CDUP
 o SMNT
 public static final int SMNT
 o REIN
 public static final int REIN
 o QUIT
 public static final int QUIT
 o PORT
 public static final int PORT
 o PASV
 public static final int PASV
 o TYPE
 public static final int TYPE
 o STRU
 public static final int STRU
 o MODE
 public static final int MODE
 o RETR
 public static final int RETR
 o STOR
 public static final int STOR
 o STOU
 public static final int STOU
 o APPE
 public static final int APPE
 o ALLO
 public static final int ALLO
 o REST
 public static final int REST
 o RNFR
 public static final int RNFR
 o RNTO
 public static final int RNTO
 o ABOR
 public static final int ABOR
 o DELE
 public static final int DELE
 o RMD
 public static final int RMD
 o MKD
 public static final int MKD
 o PWD
 public static final int PWD
 o LIST
 public static final int LIST
 o NLST
 public static final int NLST
 o SITE
 public static final int SITE
 o SYST
 public static final int SYST
 o STAT
 public static final int STAT
 o HELP
 public static final int HELP
 o NOOP
 public static final int NOOP
 o USERNAME
 public static final int USERNAME
 o PASSWORD
 public static final int PASSWORD
 o ACCOUNT
 public static final int ACCOUNT
 o CHANGE_WORKING_DIRECTORY
 public static final int CHANGE_WORKING_DIRECTORY
 o CHANGE_TO_PARENT_DIRECTORY
 public static final int CHANGE_TO_PARENT_DIRECTORY
 o STRUCTURE_MOUNT
 public static final int STRUCTURE_MOUNT
 o REINITIALIZE
 public static final int REINITIALIZE
 o LOGOUT
 public static final int LOGOUT
 o DATA_PORT
 public static final int DATA_PORT
 o PASSIVE
 public static final int PASSIVE
 o REPRESENTATION_TYPE
 public static final int REPRESENTATION_TYPE
 o FILE_STRUCTURE
 public static final int FILE_STRUCTURE
 o TRANSFER_MODE
 public static final int TRANSFER_MODE
 o RETRIEVE
 public static final int RETRIEVE
 o STORE
 public static final int STORE
 o STORE_UNIQUE
 public static final int STORE_UNIQUE
 o APPEND
 public static final int APPEND
 o ALLOCATE
 public static final int ALLOCATE
 o RESTART
 public static final int RESTART
 o RENAME_FROM
 public static final int RENAME_FROM
 o RENAME_TO
 public static final int RENAME_TO
 o ABORT
 public static final int ABORT
 o DELETE
 public static final int DELETE
 o REMOVE_DIRECTORY
 public static final int REMOVE_DIRECTORY
 o MAKE_DIRECTORY
 public static final int MAKE_DIRECTORY
 o PRINT_WORKING_DIRECTORY
 public static final int PRINT_WORKING_DIRECTORY
 o NAME_LIST
 public static final int NAME_LIST
 o SITE_PARAMETERS
 public static final int SITE_PARAMETERS
 o SYSTEM
 public static final int SYSTEM
 o STATUS
 public static final int STATUS

Methods

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

Parameters:
The - command code.
Returns:
The FTP protcol command string corresponding to a specified command code.

ORO, Inc. Logo  All Packages  Class Hierarchy  This Package  Previous  Next  Index