|
|||||||||
| Home >> All >> org >> apache >> commons >> net >> [ ftp overview ] | PREV NEXT | ||||||||
A
- A - Variable in class org.apache.commons.net.ftp.FTPClientConfigTest
- ABOR - Static variable in class org.apache.commons.net.ftp.FTPCommand
- ABORT - Static variable in class org.apache.commons.net.ftp.FTPCommand
- ACCOUNT - Static variable in class org.apache.commons.net.ftp.FTPCommand
- ACCT - Static variable in class org.apache.commons.net.ftp.FTPCommand
- ACTION_ABORTED - Static variable in class org.apache.commons.net.ftp.FTPReply
- ACTIVE_LOCAL_DATA_CONNECTION_MODE - Static variable in class org.apache.commons.net.ftp.FTPClient
- A constant indicating the FTP session is expecting all transfers to occur between the client (local) and server and that the server should connect to the client's data port to initiate a data transfer.
- ACTIVE_REMOTE_DATA_CONNECTION_MODE - Static variable in class org.apache.commons.net.ftp.FTPClient
- A constant indicating the FTP session is expecting all transfers to occur between two remote servers and that the server the client is connected to should connect to the other server's data port to initiate a data transfer.
- ALLO - Static variable in class org.apache.commons.net.ftp.FTPCommand
- ALLOCATE - Static variable in class org.apache.commons.net.ftp.FTPCommand
- APPE - Static variable in class org.apache.commons.net.ftp.FTPCommand
- APPEND - Static variable in class org.apache.commons.net.ftp.FTPCommand
- ASCII_FILE_TYPE - Static variable in class org.apache.commons.net.ftp.FTP
- A constant used to indicate the file(s) being transfered should be treated as ASCII.
- AllTests - class org.apache.commons.net.ftp.AllTests.
- Test suite for the org.apache.commons.net.ftp package.
- AllTests() - Constructor for class org.apache.commons.net.ftp.AllTests
- abor() - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP ABOR command to the server, receive the reply, and return the reply code.
- abort() - Method in class org.apache.commons.net.ftp.FTPClient
- Abort a transfer in progress.
- acct(String) - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP ACCT command to the server, receive the reply, and return the reply code.
- addProtocolCommandListener(ProtocolCommandListener) - Method in class org.apache.commons.net.ftp.FTP
- Adds a ProtocolCommandListener.
- allo(int) - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP ALLO command to the server, receive the reply, and return the reply code.
- allo(int, int) - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP ALLO command to the server, receive the reply, and return the reply code.
- allocate(int) - Method in class org.apache.commons.net.ftp.FTPClient
- Reserve a number of bytes on the server for the next file transfer.
- allocate(int, int) - Method in class org.apache.commons.net.ftp.FTPClient
- Reserve space on the server for the next file transfer.
- appe(String) - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP APPE command to the server, receive the reply, and return the reply code.
- appendFile(String, InputStream) - Method in class org.apache.commons.net.ftp.FTPClient
- Appends to a file on the server with the given name, taking input from the given InputStream.
- appendFileStream(String) - Method in class org.apache.commons.net.ftp.FTPClient
- Returns an OutputStream through which data can be written to append to a file on the server with the given name.
B
- B - Variable in class org.apache.commons.net.ftp.FTPClientConfigTest
- BAD_COMMAND_SEQUENCE - Static variable in class org.apache.commons.net.ftp.FTPReply
- BINARY_FILE_TYPE - Static variable in class org.apache.commons.net.ftp.FTP
- A constant used to indicate the file(s) being transfered should be treated as a binary image, i.e., no translations should be performed.
- BLOCK_TRANSFER_MODE - Static variable in class org.apache.commons.net.ftp.FTP
- A constant used to indicate a file is to be transfered as a series of blocks.
- badDelim - Variable in class org.apache.commons.net.ftp.FTPClientConfigTest
C
- C - Variable in class org.apache.commons.net.ftp.FTPClientConfigTest
- CANNOT_OPEN_DATA_CONNECTION - Static variable in class org.apache.commons.net.ftp.FTPReply
- CARRIAGE_CONTROL_TEXT_FORMAT - Static variable in class org.apache.commons.net.ftp.FTP
- A constant used to indicate a text file contains ASA vertical format control characters.
- CDUP - Static variable in class org.apache.commons.net.ftp.FTPCommand
- CHANGE_TO_PARENT_DIRECTORY - Static variable in class org.apache.commons.net.ftp.FTPCommand
- CHANGE_WORKING_DIRECTORY - Static variable in class org.apache.commons.net.ftp.FTPCommand
- CLOSING_DATA_CONNECTION - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_110 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_120 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_125 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_150 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_200 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_202 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_211 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_212 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_213 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_214 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_215 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_220 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_221 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_225 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_226 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_227 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_230 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_250 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_257 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_331 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_332 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_350 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_421 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_425 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_426 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_450 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_451 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_452 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_500 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_501 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_502 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_503 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_504 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_521 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_530 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_532 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_550 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_551 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_552 - Static variable in class org.apache.commons.net.ftp.FTPReply
- CODE_553 - Static variable in class org.apache.commons.net.ftp.FTPReply
- COMMAND_IS_SUPERFLUOUS - Static variable in class org.apache.commons.net.ftp.FTPReply
- COMMAND_NOT_IMPLEMENTED - Static variable in class org.apache.commons.net.ftp.FTPReply
- COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER - Static variable in class org.apache.commons.net.ftp.FTPReply
- COMMAND_OK - Static variable in class org.apache.commons.net.ftp.FTPReply
- COMPRESSED_TRANSFER_MODE - Static variable in class org.apache.commons.net.ftp.FTP
- A constant used to indicate a file is to be transfered as FTP compressed data.
- CWD - Static variable in class org.apache.commons.net.ftp.FTPCommand
- Configurable - interface org.apache.commons.net.ftp.Configurable.
- This interface adds the aspect of configurability by means of a supplied FTPClientConfig object to other classes in the system, especially listing parsers.
- cdup() - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP CDUP command to the server, receive the reply, and return the reply code.
- changeToParentDirectory() - Method in class org.apache.commons.net.ftp.FTPClient
- Change to the parent directory of the current working directory.
- changeWorkingDirectory(String) - Method in class org.apache.commons.net.ftp.FTPClient
- Change the current working directory of the FTP session.
- client - Variable in class org.apache.commons.net.ftp.ListingFunctionalTest
- completePendingCommand() - Method in class org.apache.commons.net.ftp.FTPClient
- There are a few FTPClient methods that do not complete the entire sequence of FTP commands to complete a transaction.
- configure(FTPClientConfig) - Method in interface org.apache.commons.net.ftp.Configurable
- configure(FTPClientConfig) - Method in class org.apache.commons.net.ftp.FTPClient
- Implementation of the Configurable interface.
- create(InputStream, FTPFileEntryParser, String) - Static method in class org.apache.commons.net.ftp.FTPFileList
- Deprecated. The only way to create an
FTPFileListobject. - create(InputStream, FTPFileEntryParser) - Static method in class org.apache.commons.net.ftp.FTPFileList
- Deprecated. The version of this method which takes an encoding should be used.
- createFileList(FTPFileEntryParser) - Method in class org.apache.commons.net.ftp.FTPClient
- Deprecated. - use initiateListParsing(FTPFileEntryParser) method instead.
- createFileList(String, FTPFileEntryParser) - Method in class org.apache.commons.net.ftp.FTPClient
- Deprecated. - use initiateListParsing(String, FTPFileEntryParser) method instead.
- cwd(String) - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP CWD command to the server, receive the reply, and return the reply code.
D
- D - Variable in class org.apache.commons.net.ftp.FTPClientConfigTest
- DATA_CONNECTION_ALREADY_OPEN - Static variable in class org.apache.commons.net.ftp.FTPReply
- DATA_CONNECTION_OPEN - Static variable in class org.apache.commons.net.ftp.FTPReply
- DATA_PORT - Static variable in class org.apache.commons.net.ftp.FTPCommand
- DEFAULT_CONTROL_ENCODING - Static variable in class org.apache.commons.net.ftp.FTP
- The default character encoding used for communicating over an FTP control connection.
- DEFAULT_DATA_PORT - Static variable in class org.apache.commons.net.ftp.FTP
- The default FTP data port (20).
- DEFAULT_PORT - Static variable in class org.apache.commons.net.ftp.FTP
- The default FTP control port (21).
- DELE - Static variable in class org.apache.commons.net.ftp.FTPCommand
- DELETE - Static variable in class org.apache.commons.net.ftp.FTPCommand
- DIRECTORY_STATUS - Static variable in class org.apache.commons.net.ftp.FTPReply
- DIRECTORY_TYPE - Static variable in class org.apache.commons.net.ftp.FTPFile
- A constant indicating an FTPFile is a directory.
- DIREMPTY - Static variable in class org.apache.commons.net.ftp.FTPFileIterator
- Deprecated. constant shorthand for the situation where the raw listing has been scanned and found to have no valid entry.
- DefaultFTPFileListParser - class org.apache.commons.net.ftp.DefaultFTPFileListParser.
- Deprecated. This class is deprecated as of version 1.2 and will be removed in version 2.0 -- use the autodetect mechanism in DefaultFTPFileEntryParserFactory instead.
- DefaultFTPFileListParser() - Constructor for class org.apache.commons.net.ftp.DefaultFTPFileListParser
- Deprecated.
- defaultDateFormatStr - Variable in class org.apache.commons.net.ftp.FTPClientConfig
- dele(String) - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP DELE command to the server, receive the reply, and return the reply code.
- deleteFile(String) - Method in class org.apache.commons.net.ftp.FTPClient
- Deletes a file on the FTP server.
- disconnect() - Method in class org.apache.commons.net.ftp.FTP
- Closes the control connection to the FTP server and sets to null some internal data so that the memory may be reclaimed by the garbage collector.
- disconnect() - Method in class org.apache.commons.net.ftp.FTPClient
- Closes the connection to the FTP server and restores connection parameters to the default values.
E
- E - Variable in class org.apache.commons.net.ftp.FTPClientConfigTest
- EBCDIC_FILE_TYPE - Static variable in class org.apache.commons.net.ftp.FTP
- A constant used to indicate the file(s) being transfered should be treated as EBCDIC.
- EMPTY - Static variable in class org.apache.commons.net.ftp.FTPFileIterator
- Deprecated. shorthand for an empty return value.
- EMPTY_DIR - Static variable in class org.apache.commons.net.ftp.FTPFileList
- Deprecated. private status code for an empty directory
- ENTERING_PASSIVE_MODE - Static variable in class org.apache.commons.net.ftp.FTPReply
- EXECUTE_PERMISSION - Static variable in class org.apache.commons.net.ftp.FTPFile
- A constant indicating file execute permission or directory listing permission.
- enterLocalActiveMode() - Method in class org.apache.commons.net.ftp.FTPClient
- Set the current data connection mode to
ACTIVE_LOCAL_DATA_CONNECTION_MODE. - enterLocalPassiveMode() - Method in class org.apache.commons.net.ftp.FTPClient
- Set the current data connection mode to
PASSIVE_LOCAL_DATA_CONNECTION_MODE. - enterRemoteActiveMode(InetAddress, int) - Method in class org.apache.commons.net.ftp.FTPClient
- Set the current data connection mode to
ACTIVE_REMOTE_DATA_CONNECTION. - enterRemotePassiveMode() - Method in class org.apache.commons.net.ftp.FTPClient
- Set the current data connection mode to
PASSIVE_REMOTE_DATA_CONNECTION_MODE. - entries - Variable in class org.apache.commons.net.ftp.FTPListParseEngine
F
- F - Variable in class org.apache.commons.net.ftp.FTPClientConfigTest
- FILE_ACTION_NOT_TAKEN - Static variable in class org.apache.commons.net.ftp.FTPReply
- FILE_ACTION_OK - Static variable in class org.apache.commons.net.ftp.FTPReply
- FILE_ACTION_PENDING - Static variable in class org.apache.commons.net.ftp.FTPReply
- FILE_NAME_NOT_ALLOWED - Static variable in class org.apache.commons.net.ftp.FTPReply
- FILE_STATUS - Static variable in class org.apache.commons.net.ftp.FTPReply
- FILE_STATUS_OK - Static variable in class org.apache.commons.net.ftp.FTPReply
- FILE_STRUCTURE - Static variable in class org.apache.commons.net.ftp.FTP
- A constant used to indicate a file is to be treated as a continuous sequence of bytes.
- FILE_STRUCTURE - Static variable in class org.apache.commons.net.ftp.FTPCommand
- FILE_TYPE - Static variable in class org.apache.commons.net.ftp.FTPFile
- A constant indicating an FTPFile is a file.
- FILE_UNAVAILABLE - Static variable in class org.apache.commons.net.ftp.FTPReply
- FTP - class org.apache.commons.net.ftp.FTP.
- FTP provides the basic the functionality necessary to implement your own FTP client.
- FTP() - Constructor for class org.apache.commons.net.ftp.FTP
- The default FTP constructor.
- FTP - Variable in class org.apache.commons.net.ftp.FTPClientConfigFunctionalTest
- FTPClient - class org.apache.commons.net.ftp.FTPClient.
- FTPClient encapsulates all the functionality necessary to store and retrieve files from an FTP server.
- FTPClient() - Constructor for class org.apache.commons.net.ftp.FTPClient
- Default FTPClient constructor.
- FTPClientConfig - class org.apache.commons.net.ftp.FTPClientConfig.
- This class implements an alternate means of configuring the FTPClient object and also subordinate objects which it uses.
- FTPClientConfig(String) - Constructor for class org.apache.commons.net.ftp.FTPClientConfig
- The main constructor for an FTPClientConfig object
- FTPClientConfig() - Constructor for class org.apache.commons.net.ftp.FTPClientConfig
- Convenience constructor mainly for use in testing.
- FTPClientConfig(String, String, String, String, String, String) - Constructor for class org.apache.commons.net.ftp.FTPClientConfig
- Constructor which allows setting of all member fields
- FTPClientConfigFunctionalTest - class org.apache.commons.net.ftp.FTPClientConfigFunctionalTest.
- FTPClientConfigFunctionalTest() - Constructor for class org.apache.commons.net.ftp.FTPClientConfigFunctionalTest
- FTPClientConfigFunctionalTest(String) - Constructor for class org.apache.commons.net.ftp.FTPClientConfigFunctionalTest
- FTPClientConfigTest - class org.apache.commons.net.ftp.FTPClientConfigTest.
- FTPClientConfigTest() - Constructor for class org.apache.commons.net.ftp.FTPClientConfigTest
- FTPCommand - class org.apache.commons.net.ftp.FTPCommand.
- FTPCommand stores a set of constants for FTP command codes.
- FTPCommand() - Constructor for class org.apache.commons.net.ftp.FTPCommand
- FTPConf - Variable in class org.apache.commons.net.ftp.FTPClientConfigFunctionalTest
- FTPConnectionClosedException - exception org.apache.commons.net.ftp.FTPConnectionClosedException.
- FTPConnectionClosedException is used to indicate the premature or unexpected closing of an FTP connection resulting from a FTPReply.SERVICE_NOT_AVAILABLE 55 response (FTP reply code 421) to a failed FTP command.
- FTPConnectionClosedException() - Constructor for class org.apache.commons.net.ftp.FTPConnectionClosedException
- Constructs a FTPConnectionClosedException with no message
- FTPConnectionClosedException(String) - Constructor for class org.apache.commons.net.ftp.FTPConnectionClosedException
- Constructs a FTPConnectionClosedException with a specified message.
- FTPFile - class org.apache.commons.net.ftp.FTPFile.
- The FTPFile class is used to represent information about files stored on an FTP server.
- FTPFile() - Constructor for class org.apache.commons.net.ftp.FTPFile
- Creates an empty FTPFile.
- FTPFileEntryParser - interface org.apache.commons.net.ftp.FTPFileEntryParser.
- FTPFileEntryParser defines the interface for parsing a single FTP file listing and converting that information into an FTPFile instance.
- FTPFileEntryParserImpl - class org.apache.commons.net.ftp.FTPFileEntryParserImpl.
- This abstract class implements both the older FTPFileListParser and newer FTPFileEntryParser interfaces with default functionality.
- FTPFileEntryParserImpl() - Constructor for class org.apache.commons.net.ftp.FTPFileEntryParserImpl
- The constructor for a FTPFileEntryParserImpl object.
- FTPFileIterator - class org.apache.commons.net.ftp.FTPFileIterator.
- Deprecated. This class is deprecated as of version 1.2 and will be removed in version 2.0 - use FTPFileParseEngine instead
- FTPFileIterator(FTPFileList) - Constructor for class org.apache.commons.net.ftp.FTPFileIterator
- Deprecated. "Package-private" constructor.
- FTPFileIterator(FTPFileList, FTPFileEntryParser) - Constructor for class org.apache.commons.net.ftp.FTPFileIterator
- Deprecated. "Package-private" constructor.
- FTPFileList - class org.apache.commons.net.ftp.FTPFileList.
- Deprecated. This class is deprecated as of version 1.2 and will be removed in version 2.0 -- use FTPFileParseEngine instead.
- FTPFileList(FTPFileEntryParser, String) - Constructor for class org.apache.commons.net.ftp.FTPFileList
- Deprecated. The only constructor for FTPFileList, private because construction only invoked at create()
- FTPFileListParser - interface org.apache.commons.net.ftp.FTPFileListParser.
- Deprecated. This interface is deprecated as of version 1.2 and will be removed in version 2.0 -- use FTPFileEntryParser instead.
- FTPFileListParserImpl - class org.apache.commons.net.ftp.FTPFileListParserImpl.
- Deprecated. This class is deprecated as of version 1.2 and will be removed in version 2.0 -- org.apache.commons.net.ftp.RegexFTPFileEntryParserImpl is its designated replacement. Class has been renamed, entire implemenation is in RegexFTPFileEntryParserImpl.
- FTPFileListParserImpl(String) - Constructor for class org.apache.commons.net.ftp.FTPFileListParserImpl
- Deprecated. The constructor for a FTPFileListParserImpl object.
- FTPListParseEngine - class org.apache.commons.net.ftp.FTPListParseEngine.
- This class handles the entire process of parsing a listing of file entries from the server.
- FTPListParseEngine(FTPFileEntryParser) - Constructor for class org.apache.commons.net.ftp.FTPListParseEngine
- FTPReply - class org.apache.commons.net.ftp.FTPReply.
- FTPReply stores a set of constants for FTP reply codes.
- FTPReply() - Constructor for class org.apache.commons.net.ftp.FTPReply
- fakeLang - Variable in class org.apache.commons.net.ftp.FTPClientConfigTest
- findByName(List, String) - Method in class org.apache.commons.net.ftp.ListingFunctionalTest
- firstGoodEntry - Variable in class org.apache.commons.net.ftp.FTPFileIterator
- Deprecated. number within
rawlinesof the first valid file entry.
G
- GROUP_ACCESS - Static variable in class org.apache.commons.net.ftp.FTPFile
- A constant indicating group access permissions.
- getBufferSize() - Method in class org.apache.commons.net.ftp.FTPClient
- Retrieve the current internal buffer size.
- getCommand(int) - Static method in class org.apache.commons.net.ftp.FTPCommand
- Retrieve the FTP protocol command string corresponding to a specified command code.
- getControlEncoding() - Method in class org.apache.commons.net.ftp.FTP
- getDataConnectionMode() - Method in class org.apache.commons.net.ftp.FTPClient
- Returns the current data connection mode (one of the
_DATA_CONNECTION_MODEconstants. - getDateFormatSymbols(String) - Static method in class org.apache.commons.net.ftp.FTPClientConfig
- Returns a DateFormatSymbols object configured with short month names as in the supplied string
- getDefaultDateFormatStr() - Method in class org.apache.commons.net.ftp.FTPClientConfig
- getter for the defaultDateFormatStr 55 property.
- getFiles() - Method in class org.apache.commons.net.ftp.FTPFileIterator
- Deprecated. Returns a list of FTPFile objects for ALL files listed in the server's LIST output.
- getFiles() - Method in class org.apache.commons.net.ftp.FTPFileList
- Deprecated. returns an array of FTPFile objects for all the files in the directory listing
- getFiles() - Method in class org.apache.commons.net.ftp.FTPListParseEngine
- Returns an array of FTPFile objects containing the whole list of files returned by the server as read by this object's parser.
- getFirstGoodEntry() - Method in class org.apache.commons.net.ftp.FTPFileIterator
- Deprecated. Skips over any introductory lines and stuff in the listing that does not represent files, returning the line number of the first entry that does represent a file.
- getGroup() - Method in class org.apache.commons.net.ftp.FTPFile
- Returns the name of the group owning the file.
- getHardLinkCount() - Method in class org.apache.commons.net.ftp.FTPFile
- Return the number of hard links to this file.
- getLines() - Method in class org.apache.commons.net.ftp.FTPFileList
- Deprecated. Package private accessor for the collection of raw input lines.
- getLink() - Method in class org.apache.commons.net.ftp.FTPFile
- If the FTPFile is a symbolic link, this method returns the name of the file being pointed to by the symbolic link.
- getName() - Method in class org.apache.commons.net.ftp.FTPFile
- Return the name of the file.
- getNext(int) - Method in class org.apache.commons.net.ftp.FTPFileIterator
- Deprecated. Returns an array of at most
quantityRequestedFTPFile objects starting at this iterator's current position within its associated list. - getNext(int) - Method in class org.apache.commons.net.ftp.FTPListParseEngine
- Returns an array of at most
quantityRequestedFTPFile objects starting at this object's internal iterator's current position. - getParser() - Method in class org.apache.commons.net.ftp.FTPFileList
- Deprecated. Accessor for this object's default parser.
- getPassiveHost() - Method in class org.apache.commons.net.ftp.FTPClient
- Returns the hostname or IP address (in the form of a string) returned by the server when entering passive mode.
- getPassivePort() - Method in class org.apache.commons.net.ftp.FTPClient
- If in passive mode, returns the data port of the passive host.
- getPrevious(int) - Method in class org.apache.commons.net.ftp.FTPFileIterator
- Deprecated. Returns an array of at most
quantityRequestedFTPFile objects starting at the position preceding this iterator's current position within its associated list. - getPrevious(int) - Method in class org.apache.commons.net.ftp.FTPListParseEngine
- Returns an array of at most
quantityRequestedFTPFile objects starting at this object's internal iterator's current position, and working back toward the beginning. - getRawListing() - Method in class org.apache.commons.net.ftp.FTPFile
- Get the original FTP server raw listing used to initialize the FTPFile.
- getRecentDateFormatStr() - Method in class org.apache.commons.net.ftp.FTPClientConfig
- getter for the recentDateFormatStr 55 property.
- getReply() - Method in class org.apache.commons.net.ftp.FTP
- Fetches a reply from the FTP server and returns the integer reply code.
- getReplyCode() - Method in class org.apache.commons.net.ftp.FTP
- Returns the integer value of the reply code of the last FTP reply.
- getReplyString() - Method in class org.apache.commons.net.ftp.FTP
- Returns the entire text of the last FTP server response exactly as it was received, including all end of line markers in NETASCII format.
- getReplyStrings() - Method in class org.apache.commons.net.ftp.FTP
- Returns the lines of text from the last FTP server response as an array of strings, one entry per line.
- getRestartOffset() - Method in class org.apache.commons.net.ftp.FTPClient
- Fetches the restart offset.
- getServerLanguageCode() - Method in class org.apache.commons.net.ftp.FTPClientConfig
- getter for the serverLanguageCode 55 property.
- getServerSystemKey() - Method in class org.apache.commons.net.ftp.FTPClientConfig
- Getter for the serverSystemKey property.
- getServerTimeZoneId() - Method in class org.apache.commons.net.ftp.FTPClientConfig
- getter for the serverTimeZoneId 55 property.
- getShortMonthNames() - Method in class org.apache.commons.net.ftp.FTPClientConfig
- getter for the shortMonthNames 55 property.
- getSize() - Method in class org.apache.commons.net.ftp.FTPFile
- Return the file size in bytes.
- getSortedList(FTPFile[]) - Method in class org.apache.commons.net.ftp.FTPClientConfigFunctionalTest
- getStatus() - Method in class org.apache.commons.net.ftp.FTPClient
- Issue the FTP STAT command to the server.
- getStatus(String) - Method in class org.apache.commons.net.ftp.FTPClient
- Issue the FTP STAT command to the server for a given pathname.
- getSupportedLanguageCodes() - Static method in class org.apache.commons.net.ftp.FTPClientConfig
- Returns a Collection of all the language codes currently supported by this class.
- getSystemName() - Method in class org.apache.commons.net.ftp.FTPClient
- Fetches the system type name from the server and returns the string.
- getTimestamp() - Method in class org.apache.commons.net.ftp.FTPFile
- Returns the file timestamp.
- getType() - Method in class org.apache.commons.net.ftp.FTPFile
- Return the type of the file (one of the
_TYPEconstants), e.g., if it is a directory, a regular file, or a symbolic link. - getUser() - Method in class org.apache.commons.net.ftp.FTPFile
- Returns the name of the user owning the file.
H
- HELP - Static variable in class org.apache.commons.net.ftp.FTPCommand
- HELP_MESSAGE - Static variable in class org.apache.commons.net.ftp.FTPReply
- HOSTNAME - Static variable in class org.apache.commons.net.ftp.ListingFunctionalTest
- hasNext() - Method in class org.apache.commons.net.ftp.FTPFileIterator
- Deprecated. Method for determining whether getNext() will successfully return a non-null value.
- hasNext() - Method in class org.apache.commons.net.ftp.FTPListParseEngine
- convenience method to allow clients to know whether this object's internal iterator's current position is at the end of the list.
- hasPermission(int, int) - Method in class org.apache.commons.net.ftp.FTPFile
- Determines if the given access group (one of the
_ACCESSconstants) has the given access permission (one of the_PERMISSIONconstants) to the file. - hasPrevious() - Method in class org.apache.commons.net.ftp.FTPFileIterator
- Deprecated. Method for determining whether getPrevious() will successfully return a non-null value.
- hasPrevious() - Method in class org.apache.commons.net.ftp.FTPListParseEngine
- convenience method to allow clients to know whether this object's internal iterator's current position is at the beginning of the list.
- help() - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP HELP command to the server, receive the reply, and return the reply code.
- help(String) - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP HELP command to the server, receive the reply, and return the reply code.
- hostName - Variable in class org.apache.commons.net.ftp.ListingFunctionalTest
I
- IMAGE_FILE_TYPE - Static variable in class org.apache.commons.net.ftp.FTP
- A constant used to indicate the file(s) being transfered should be treated as a binary image, i.e., no translations should be performed.
- INSUFFICIENT_STORAGE - Static variable in class org.apache.commons.net.ftp.FTPReply
- INVALID_PARSERKEY - Static variable in class org.apache.commons.net.ftp.ListingFunctionalTest
- INVALID_PATH - Static variable in class org.apache.commons.net.ftp.ListingFunctionalTest
- init() - Method in class org.apache.commons.net.ftp.FTPFileIterator
- Deprecated. resets iterator to the beginning of the list.
- initiateListParsing() - Method in class org.apache.commons.net.ftp.FTPClient
- Using the default autodetect mechanism, initialize an FTPListParseEngine object containing a raw file information for the current working directory on the server This information is obtained through the LIST command.
- initiateListParsing(String) - Method in class org.apache.commons.net.ftp.FTPClient
- Using the default autodetect mechanism, initialize an FTPListParseEngine object containing a raw file information for the supplied directory.
- initiateListParsing(String, String) - Method in class org.apache.commons.net.ftp.FTPClient
- Using the supplied parser key, initialize an FTPListParseEngine object containing a raw file information for the supplied directory.
- initiateListParsing(FTPFileEntryParser, String) - Method in class org.apache.commons.net.ftp.FTPClient
- private method through which all listFiles() and initiateListParsing methods pass once a parser is determined.
- invalidParserKey - Variable in class org.apache.commons.net.ftp.ListingFunctionalTest
- invalidPath - Variable in class org.apache.commons.net.ftp.ListingFunctionalTest
- isDirectory() - Method in class org.apache.commons.net.ftp.FTPFile
- Determine if the file is a directory.
- isFile() - Method in class org.apache.commons.net.ftp.FTPFile
- Determine if the file is a regular file.
- isNegativePermanent(int) - Static method in class org.apache.commons.net.ftp.FTPReply
- Determine if a reply code is a negative permanent response.
- isNegativeTransient(int) - Static method in class org.apache.commons.net.ftp.FTPReply
- Determine if a reply code is a negative transient response.
- isPositiveCompletion(int) - Static method in class org.apache.commons.net.ftp.FTPReply
- Determine if a reply code is a positive completion response.
- isPositiveIntermediate(int) - Static method in class org.apache.commons.net.ftp.FTPReply
- Determine if a reply code is a positive intermediate response.
- isPositivePreliminary(int) - Static method in class org.apache.commons.net.ftp.FTPReply
- Determine if a reply code is a positive preliminary response.
- isRemoteVerificationEnabled() - Method in class org.apache.commons.net.ftp.FTPClient
- Return whether or not verification of the remote host participating in data connections is enabled.
- isSymbolicLink() - Method in class org.apache.commons.net.ftp.FTPFile
- Determine if the file is a symbolic link.
- isUnknown() - Method in class org.apache.commons.net.ftp.FTPFile
- Determine if the type of the file is unknown.
- itemptr - Variable in class org.apache.commons.net.ftp.FTPFileIterator
- Deprecated. this iterator's current position within
rawlines. - iterator() - Method in class org.apache.commons.net.ftp.FTPFileList
- Deprecated. create an iterator over this list using the parser with which this list was initally created
- iterator(FTPFileEntryParser) - Method in class org.apache.commons.net.ftp.FTPFileList
- Deprecated. create an iterator over this list using the supplied parser
L
- LANGUAGE_CODE_MAP - Static variable in class org.apache.commons.net.ftp.FTPClientConfig
- LIST - Static variable in class org.apache.commons.net.ftp.FTPCommand
- LOCAL_FILE_TYPE - Static variable in class org.apache.commons.net.ftp.FTP
- A constant used to indicate the file(s) being transfered should be treated as a local type.
- LOGOUT - Static variable in class org.apache.commons.net.ftp.FTPCommand
- ListingFunctionalTest - class org.apache.commons.net.ftp.ListingFunctionalTest.
- A functional test suite for checking that site listings work.
- ListingFunctionalTest(String, String[]) - Constructor for class org.apache.commons.net.ftp.ListingFunctionalTest
- Constructor for FTPClientTest.
- lines - Variable in class org.apache.commons.net.ftp.FTPFileList
- Deprecated. storage for the raw lines of input read from the FTP server
- list() - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP LIST command to the server, receive the reply, and return the reply code.
- list(String) - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP LIST command to the server, receive the reply, and return the reply code.
- listFiles(String, String) - Method in class org.apache.commons.net.ftp.FTPClient
- Deprecated. use listFiles() 55 or listFiles(String) 55 instead and specify the parser Key in an FTPClientConfig object instead.
- listFiles(String) - Method in class org.apache.commons.net.ftp.FTPClient
- Using the default system autodetect mechanism, obtain a list of file information for the current working directory or for just a single file.
- listFiles() - Method in class org.apache.commons.net.ftp.FTPClient
- Using the default system autodetect mechanism, obtain a list of file information for the current working directory.
- listFiles(FTPFileListParser, String) - Method in class org.apache.commons.net.ftp.FTPClient
- Deprecated. use listFiles(String parserKey, String pathname) instead
- listFiles(FTPFileListParser) - Method in class org.apache.commons.net.ftp.FTPClient
- Deprecated. use listFiles(String parserKey) instead.
- listHelp() - Method in class org.apache.commons.net.ftp.FTPClient
- Fetches the system help information from the server and returns the full string.
- listHelp(String) - Method in class org.apache.commons.net.ftp.FTPClient
- Fetches the help information for a given command from the server and returns the full string.
- listNames(String) - Method in class org.apache.commons.net.ftp.FTPClient
- Obtain a list of filenames in a directory (or just the name of a given file, which is not particularly useful).
- listNames() - Method in class org.apache.commons.net.ftp.FTPClient
- Obtain a list of filenames in the current working directory This information is obtained through the NLST command.
- login(String, String) - Method in class org.apache.commons.net.ftp.FTPClient
- Login to the FTP server using the provided username and password.
- login(String, String, String) - Method in class org.apache.commons.net.ftp.FTPClient
- Login to the FTP server using the provided username, password, and account.
- logout() - Method in class org.apache.commons.net.ftp.FTPClient
- Logout of the FTP server by sending the QUIT command.
- lookupDateFormatSymbols(String) - Static method in class org.apache.commons.net.ftp.FTPClientConfig
- Looks up the supplied language code in the internally maintained table of language codes.
M
- MAKE_DIRECTORY - Static variable in class org.apache.commons.net.ftp.FTPCommand
- MKD - Static variable in class org.apache.commons.net.ftp.FTPCommand
- MODE - Static variable in class org.apache.commons.net.ftp.FTPCommand
- main(String[]) - Static method in class org.apache.commons.net.ftp.FTPClientConfigFunctionalTest
- makeDirectory(String) - Method in class org.apache.commons.net.ftp.FTPClient
- Creates a new subdirectory on the FTP server in the current directory (if a relative pathname is given) or where specified (if an absolute pathname is given).
- mkd(String) - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP MKD command to the server, receive the reply, and return the reply code.
- mode(int) - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP MODE command to the server, receive the reply, and return the reply code.
N
- NAME_LIST - Static variable in class org.apache.commons.net.ftp.FTPCommand
- NAME_SYSTEM_TYPE - Static variable in class org.apache.commons.net.ftp.FTPReply
- NEED_ACCOUNT - Static variable in class org.apache.commons.net.ftp.FTPReply
- NEED_ACCOUNT_FOR_STORING_FILES - Static variable in class org.apache.commons.net.ftp.FTPReply
- NEED_PASSWORD - Static variable in class org.apache.commons.net.ftp.FTPReply
- NLST - Static variable in class org.apache.commons.net.ftp.FTPCommand
- NON_PRINT_TEXT_FORMAT - Static variable in class org.apache.commons.net.ftp.FTP
- A constant used for text files to indicate a non-print text format.
- NOOP - Static variable in class org.apache.commons.net.ftp.FTPCommand
- NOT_LOGGED_IN - Static variable in class org.apache.commons.net.ftp.FTPReply
- next() - Method in class org.apache.commons.net.ftp.FTPFileIterator
- Deprecated. Returns a single parsed FTPFile object corresponding to the raw input line at this iterator's current position.
- nlst() - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP NLST command to the server, receive the reply, and return the reply code.
- nlst(String) - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP NLST command to the server, receive the reply, and return the reply code.
- noop() - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP NOOP command to the server, receive the reply, and return the reply code.
O
- org.apache.commons.net.ftp - package org.apache.commons.net.ftp
P
- PAGE_STRUCTURE - Static variable in class org.apache.commons.net.ftp.FTP
- A constant used to indicate a file is to be treated as a set of independent indexed pages.
- PAGE_TYPE_UNKNOWN - Static variable in class org.apache.commons.net.ftp.FTPReply
- PASS - Static variable in class org.apache.commons.net.ftp.FTPCommand
- PASSIVE - Static variable in class org.apache.commons.net.ftp.FTPCommand
- PASSIVE_LOCAL_DATA_CONNECTION_MODE - Static variable in class org.apache.commons.net.ftp.FTPClient
- A constant indicating the FTP session is expecting all transfers to occur between the client (local) and server and that the server is in passive mode, requiring the client to connect to the server's data port to initiate a transfer.
- PASSIVE_REMOTE_DATA_CONNECTION_MODE - Static variable in class org.apache.commons.net.ftp.FTPClient
- A constant indicating the FTP session is expecting all transfers to occur between two remote servers and that the server the client is connected to is in passive mode, requiring the other server to connect to the first server's data port to initiate a data transfer.
- PASSWORD - Static variable in class org.apache.commons.net.ftp.FTPCommand
- PASV - Static variable in class org.apache.commons.net.ftp.FTPCommand
- PATHNAME_CREATED - Static variable in class org.apache.commons.net.ftp.FTPReply
- PORT - Static variable in class org.apache.commons.net.ftp.FTPCommand
- PRINT_WORKING_DIRECTORY - Static variable in class org.apache.commons.net.ftp.FTPCommand
- PWD - Static variable in class org.apache.commons.net.ftp.FTPCommand
- parseFTPEntry(String) - Method in interface org.apache.commons.net.ftp.FTPFileEntryParser
- Parses a line of an FTP server file listing and converts it into a usable
format in the form of an
FTPFileinstance. - parseFTPEntry(String) - Method in class org.apache.commons.net.ftp.FTPFileIterator
- Deprecated. Delegates to this object's parser member the job of parsing an entry.
- parseFileList(InputStream, String) - Method in class org.apache.commons.net.ftp.FTPFileEntryParserImpl
- Parses an FTP server file listing and converts it into a usable format
in the form of an array of
FTPFileinstances. - parseFileList(InputStream) - Method in class org.apache.commons.net.ftp.FTPFileEntryParserImpl
- Deprecated. The version of this method which takes an encoding should be used.
- parseFileList(InputStream, String) - Method in interface org.apache.commons.net.ftp.FTPFileListParser
- Deprecated. Parses an FTP server file listing and converts it into a usable format
in the form of an array of
FTPFileinstances. - parseFileList(InputStream) - Method in interface org.apache.commons.net.ftp.FTPFileListParser
- Deprecated. Parses an FTP server file listing and converts it into a usable format
in the form of an array of
FTPFileinstances. - parser - Variable in class org.apache.commons.net.ftp.FTPFileIterator
- Deprecated. the parser to which this iterator delegates its parsing duties
- parser - Variable in class org.apache.commons.net.ftp.FTPFileList
- Deprecated. the FTPFileEntryParser assigned to be used with this lister
- parser - Variable in class org.apache.commons.net.ftp.FTPListParseEngine
- pass(String) - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP PASS command to the server, receive the reply, and return the reply code.
- pasv() - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP PASV command to the server, receive the reply, and return the reply code.
- port(InetAddress, int) - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP PORT command to the server, receive the reply, and return the reply code.
- preParse(List) - Method in interface org.apache.commons.net.ftp.FTPFileEntryParser
- This method is a hook for those implementors (such as VMSVersioningFTPEntryParser, and possibly others) which need to perform some action upon the FTPFileList after it has been created from the server stream, but before any clients see the list.
- preParse(List) - Method in class org.apache.commons.net.ftp.FTPFileEntryParserImpl
- This method is a hook for those implementors (such as VMSVersioningFTPEntryParser, and possibly others) which need to perform some action upon the FTPFileList after it has been created from the server stream, but before any clients see the list.
- previous() - Method in class org.apache.commons.net.ftp.FTPFileIterator
- Deprecated. Returns a single parsed FTPFile object corresponding to the raw input line at the position preceding that of the internal iterator over the list of raw lines maintained by this object After this method is called the internal iterator is retreated by one element (unless it is already at beginning of list).
- printWorkingDirectory() - Method in class org.apache.commons.net.ftp.FTPClient
- Returns the pathname of the current working directory.
- pwd() - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP PWD command to the server, receive the reply, and return the reply code.
Q
- QUIT - Static variable in class org.apache.commons.net.ftp.FTPCommand
- quit() - Method in class org.apache.commons.net.ftp.FTP
- A convenience method to send the FTP QUIT command to the server, receive the reply, and return the reply code.
R
- READ_PERMISSION - Static variable in class org.apache.commons.net.ftp.FTPFile
- A constant indicating file/directory read permission.
- RECORD_STRUCTURE - Static variable in class org.apache.commons.net.ftp.FTP
- A constant used to indicate a file is to be treated as a sequence of records.
- REIN - Static variable in class org.apache.commons.net.ftp.FTPCommand
- REINITIALIZE - Static variable in class org.apache.commons.net.ftp.FTPCommand
- REMOVE_DIRECTORY - Static variable in class org.apache.commons.net.ftp.FTPCommand
- RENAME_FROM - Static variable in class org.apache.commons.net.ftp.FTPCommand
- RENAME_TO - Static variable in class org.apache.commons.net.ftp.FTPCommand
- REPRESENTATION_TYPE - Static variable in class org.apache.commons.net.ftp.FTPCommand
- REST - Static variable in class org.apache.commons.net.ftp.FTPCommand
- RESTART - Static variable in class org.apache.commons.net.ftp.FTPCommand
- RESTART_MARKER - Static variable in class org.apache.commons.net.ftp.FTPReply
- RETR - Static variable in class org.apache.commons.net.ftp.FTPCommand
- RETRIEVE - Static variable in class org.apache.commons.net.ftp.FTPCommand
- RMD - Static variable in class org.apache.commons.net.ftp.FTPCommand
- RNFR - Static variable in class org.apache.commons.net.ftp.FTPCommand
- RNTO - Static variable in class org.apache.commons.net.ftp.FTPCommand
- rawlines - Variable in class org.apache.commons.net.ftp.FTPFileIterator
- Deprecated. a vector of strings, each representing a possibly valid ftp file entry
- readNextEntry(BufferedReader) - Method in interface org.apache.commons.net.ftp.FTPFileEntryParser
- Reads the next entry using the supplied BufferedReader object up to whatever delemits one entry from the next.
- readNextEntry(BufferedReader) - Method in class org.apache.commons.net.ftp.FTPFileEntryParserImpl
- Reads the next entry using the supplied BufferedReader object up to whatever delemits one entry from the next.
- readServerList(InputStream, String) - Method in class org.apache.commons.net.ftp.FTPListParseEngine
- handle the iniitial reading and preparsing of the list returned by the server.
- readServerList(InputStream) - Method in class org.apache.commons.net.ftp.FTPListParseEngine
- Deprecated. The version of this method which takes an encoding should be used.
- readStream(InputStream, String) - Method in class org.apache.commons.net.ftp.FTPFileList
- Deprecated. internal method for reading the input into the
linesvector. - readStream(InputStream) - Method in class org.apache.commons.net.ftp.FTPFileList
- Deprecated. The version of this method which takes an encoding should be used.
- readStream(InputStream, String) - Method in class org.apache.commons.net.ftp.FTPListParseEngine
- Internal method for reading the input into the
entrieslist. - recentDateFormatStr - Variable in class org.apache.commons.net.ftp.FTPClientConfig