A B C D E F G H I L M N O P Q R S T U V W

A

ACTIVE - Static variable in class com.enterprisedt.net.ftp.FTPConnectMode
Represents active connect mode
ALL - Static variable in class com.enterprisedt.util.debug.Level
All level
ASCII - Static variable in class com.enterprisedt.net.ftp.FTPTransferType
Represents ASCII transfer type
Appender - interface com.enterprisedt.util.debug.Appender.
Interface for classes that output log statements
acceptConnection() - Method in class com.enterprisedt.net.ftp.FTPActiveDataSocket
Waits for a connection from the server and then sets the timeout when the connection is made.
acceptedSock - Variable in class com.enterprisedt.net.ftp.FTPActiveDataSocket
The socket accepted from server.
addAppender(Appender) - Static method in class com.enterprisedt.util.debug.Logger
Add an appender to our list
assertIdentical(byte[], byte[]) - Method in class com.enterprisedt.net.ftp.test.FTPTestCase
Test to see if two buffers are identical, byte for byte
assertIdentical(String, String) - Method in class com.enterprisedt.net.ftp.test.FTPTestCase
Test to see if two files are identical, byte for byte
assertIdentical(File, File) - Method in class com.enterprisedt.net.ftp.test.FTPTestCase
Test to see if two files are identical, byte for byte

B

BINARY - Static variable in class com.enterprisedt.net.ftp.FTPTransferType
Represents Image (or binary) transfer type
bytesTransferred(long) - Method in interface com.enterprisedt.net.ftp.FTPProgressMonitor
Report the number of bytes transferred so far.

C

CONTROL_PORT - Static variable in class com.enterprisedt.net.ftp.FTPControlSocket
The default and standard control port number for FTP
cancelResume() - Method in class com.enterprisedt.net.ftp.FTPClient
Cancel the resume.
cancelTransfer() - Method in class com.enterprisedt.net.ftp.FTPClient
Cancels the current transfer.
chdir(String) - Method in class com.enterprisedt.net.ftp.FTPClient
Change the remote working directory to that supplied
checkConnection(boolean) - Method in class com.enterprisedt.net.ftp.FTPClient
Checks if the client has connected to the server and throws an exception if it hasn't.
clearLog() - Method in class com.enterprisedt.net.ftp.FTPMessageCollector
Clear the log of all messages
clearSOCKS() - Static method in class com.enterprisedt.net.ftp.FTPClient
Clear SOCKS settings.
close() - Method in class com.enterprisedt.net.ftp.FTPActiveDataSocket
Closes underlying sockets
close() - Method in interface com.enterprisedt.net.ftp.FTPDataSocket
Closes underlying socket(s)
close() - Method in class com.enterprisedt.net.ftp.FTPPassiveDataSocket
Closes underlying socket
close() - Method in interface com.enterprisedt.util.debug.Appender
Close this appender
close() - Method in class com.enterprisedt.util.debug.FileAppender
 
close() - Method in class com.enterprisedt.util.debug.StandardOutputAppender
 
com.enterprisedt.net.ftp - package com.enterprisedt.net.ftp
Contains classes for FTP client functionality.
com.enterprisedt.net.ftp.test - package com.enterprisedt.net.ftp.test
 
com.enterprisedt.util.debug - package com.enterprisedt.util.debug
 
connect() - Method in class com.enterprisedt.net.ftp.test.FTPTestCase
Connect to the server and setup log stream
connect(int) - Method in class com.enterprisedt.net.ftp.test.FTPTestCase
Connect to the server and setup log stream
connectMode - Variable in class com.enterprisedt.net.ftp.test.FTPTestCase
Connect mode for test
control - Variable in class com.enterprisedt.net.ftp.FTPClient
Socket responsible for controlling the connection
controlSock - Variable in class com.enterprisedt.net.ftp.FTPControlSocket
The underlying socket.
cvsId - Static variable in class com.enterprisedt.net.ftp.FTPActiveDataSocket
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.FTPClient
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.FTPConnectMode
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.FTPControlSocket
Revision control id
cvsId - Static variable in interface com.enterprisedt.net.ftp.FTPDataSocket
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.FTPException
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.FTPFile
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.FTPFileFactory
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.FTPPassiveDataSocket
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.FTPReply
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.FTPTransferType
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.UnixFileParser
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.WindowsFileParser
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.test.FTPClientTest
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.test.FTPTestCase
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.test.TestDirOperations
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.test.TestFeatures
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.test.TestFileOperations
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.test.TestGeneral
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.test.TestListings
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.test.TestLogin
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.test.TestMode
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.test.TestResume
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.test.TestTimeout
Revision control id
cvsId - Static variable in class com.enterprisedt.net.ftp.test.TestTransfer
Revision control id
cvsId - Static variable in interface com.enterprisedt.util.debug.Appender
Revision control id
cvsId - Static variable in class com.enterprisedt.util.debug.FileAppender
Revision control id
cvsId - Static variable in class com.enterprisedt.util.debug.Level
Revision control id
cvsId - Static variable in class com.enterprisedt.util.debug.Logger
Revision control id
cvsId - Static variable in class com.enterprisedt.util.debug.StandardOutputAppender
Revision control id

D

DEBUG - Static variable in class com.enterprisedt.util.debug.Level
Debug level
data - Variable in class com.enterprisedt.net.ftp.FTPClient
Socket responsible for transferring the data
debug(String) - Method in class com.enterprisedt.util.debug.Logger
Log a debug level message
debug(String, Throwable) - Method in class com.enterprisedt.util.debug.Logger
Log a debug level message
debugResponses(boolean) - Method in class com.enterprisedt.net.ftp.FTPClient
Deprecated. use the Logger class to switch debugging on and off
delete(String) - Method in class com.enterprisedt.net.ftp.FTPClient
Delete the specified remote file
dir() - Method in class com.enterprisedt.net.ftp.FTPClient
List current directory's contents as an array of strings of filenames.
dir(String) - Method in class com.enterprisedt.net.ftp.FTPClient
List a directory's contents as an array of strings of filenames.
dir(String, boolean) - Method in class com.enterprisedt.net.ftp.FTPClient
List a directory's contents as an array of strings.
dirDetails(String) - Method in class com.enterprisedt.net.ftp.FTPClient
List a directory's contents as an array of FTPFile objects.

E

ERROR - Static variable in class com.enterprisedt.util.debug.Level
OFF level
error(String) - Method in class com.enterprisedt.util.debug.Logger
Log an error level message
error(String, Throwable) - Method in class com.enterprisedt.util.debug.Logger
Log an error level message

F

FATAL - Static variable in class com.enterprisedt.util.debug.Level
Fatal level
FTPActiveDataSocket - class com.enterprisedt.net.ftp.FTPActiveDataSocket.
Active data socket handling class
FTPActiveDataSocket(ServerSocket) - Constructor for class com.enterprisedt.net.ftp.FTPActiveDataSocket
Constructor
FTPClient - class com.enterprisedt.net.ftp.FTPClient.
Supports client-side FTP.
FTPClient(String) - Constructor for class com.enterprisedt.net.ftp.FTPClient
Constructor.
FTPClient(String, int) - Constructor for class com.enterprisedt.net.ftp.FTPClient
Constructor.
FTPClient(String, int, int) - Constructor for class com.enterprisedt.net.ftp.FTPClient
Constructor.
FTPClient(String, int, int, String) - Constructor for class com.enterprisedt.net.ftp.FTPClient
Constructor.
FTPClient(InetAddress) - Constructor for class com.enterprisedt.net.ftp.FTPClient
Constructor.
FTPClient(InetAddress, int) - Constructor for class com.enterprisedt.net.ftp.FTPClient
Constructor.
FTPClient(InetAddress, int, int) - Constructor for class com.enterprisedt.net.ftp.FTPClient
Constructor.
FTPClient(InetAddress, int, int, String) - Constructor for class com.enterprisedt.net.ftp.FTPClient
Constructor.
FTPClient() - Constructor for class com.enterprisedt.net.ftp.FTPClient
Default constructor for use by subclasses
FTPClientTest - class com.enterprisedt.net.ftp.test.FTPClientTest.
Basic test harness.
FTPClientTest() - Constructor for class com.enterprisedt.net.ftp.test.FTPClientTest
 
FTPConnectMode - class com.enterprisedt.net.ftp.FTPConnectMode.
Enumerates the connect modes that are possible, active & PASV
FTPControlSocket - class com.enterprisedt.net.ftp.FTPControlSocket.
Supports client-side FTP operations
FTPControlSocket(Socket, int, String, FTPMessageListener) - Constructor for class com.enterprisedt.net.ftp.FTPControlSocket
Constructs a new FTPControlSocket using the given Socket object.
FTPDataSocket - interface com.enterprisedt.net.ftp.FTPDataSocket.
Interface for data socket classes, whether active or passive
FTPException - exception com.enterprisedt.net.ftp.FTPException.
FTP specific exceptions
FTPException(String) - Constructor for class com.enterprisedt.net.ftp.FTPException
Constructor.
FTPException(String, String) - Constructor for class com.enterprisedt.net.ftp.FTPException
Constructor.
FTPException(FTPReply) - Constructor for class com.enterprisedt.net.ftp.FTPException
Constructor.
FTPFile - class com.enterprisedt.net.ftp.FTPFile.
Represents a remote file (implementation)
FTPFileFactory - class com.enterprisedt.net.ftp.FTPFileFactory.
Factory for creating FTPFile objects
FTPFileFactory(String) - Constructor for class com.enterprisedt.net.ftp.FTPFileFactory
Constructor
FTPFileFactory(FTPFileParser) - Constructor for class com.enterprisedt.net.ftp.FTPFileFactory
Constructor.
FTPFileParser - class com.enterprisedt.net.ftp.FTPFileParser.
Root class of all file parsers
FTPFileParser() - Constructor for class com.enterprisedt.net.ftp.FTPFileParser
 
FTPMessageCollector - class com.enterprisedt.net.ftp.FTPMessageCollector.
Listens for and is notified of FTP commands and replies.
FTPMessageCollector() - Constructor for class com.enterprisedt.net.ftp.FTPMessageCollector
 
FTPMessageListener - interface com.enterprisedt.net.ftp.FTPMessageListener.
Listens for and is notified of FTP commands and replies.
FTPPassiveDataSocket - class com.enterprisedt.net.ftp.FTPPassiveDataSocket.
Passive data socket handling class
FTPPassiveDataSocket(Socket) - Constructor for class com.enterprisedt.net.ftp.FTPPassiveDataSocket
Constructor
FTPProgressMonitor - interface com.enterprisedt.net.ftp.FTPProgressMonitor.
Allows the reporting of progress of the transfer of data
FTPReply - class com.enterprisedt.net.ftp.FTPReply.
Encapsulates the FTP server reply
FTPTestCase - class com.enterprisedt.net.ftp.test.FTPTestCase.
Generic JUnit test class for FTP, that provides some useful methods for subclasses that implement the actual test cases
FTPTestCase() - Constructor for class com.enterprisedt.net.ftp.test.FTPTestCase
Initialize test properties
FTPTransferType - class com.enterprisedt.net.ftp.FTPTransferType.
Enumerates the transfer types possible.
FileAppender - class com.enterprisedt.util.debug.FileAppender.
Appends log statements to a file
FileAppender(String) - Constructor for class com.enterprisedt.util.debug.FileAppender
Constructor
FileParserTest - class com.enterprisedt.net.ftp.test.FileParserTest.
Test harness for testing out listings.
FileParserTest() - Constructor for class com.enterprisedt.net.ftp.test.FileParserTest
 
fatal(String) - Method in class com.enterprisedt.util.debug.Logger
Log a fatal level message
fatal(String, Throwable) - Method in class com.enterprisedt.util.debug.Logger
Log a fatal level message
features() - Method in class com.enterprisedt.net.ftp.FTPClient
Get the server supplied features
ftp - Variable in class com.enterprisedt.net.ftp.test.FTPTestCase
Reference to the FTP client

G

generateRandomFilename() - Method in class com.enterprisedt.net.ftp.test.FTPTestCase
Generate a random file name for testing
get(String, String) - Method in class com.enterprisedt.net.ftp.FTPClient
Get data from the FTP server.
get(OutputStream, String) - Method in class com.enterprisedt.net.ftp.FTPClient
Get data from the FTP server.
get(String) - Method in class com.enterprisedt.net.ftp.FTPClient
Get data from the FTP server.
getBuildTimestamp() - Static method in class com.enterprisedt.net.ftp.FTPClient
Get the build timestamp
getGroup() - Method in class com.enterprisedt.net.ftp.FTPFile
 
getInputStream() - Method in class com.enterprisedt.net.ftp.FTPActiveDataSocket
If active mode, accepts the FTP server's connection - in PASV, we are already connected.
getInputStream() - Method in interface com.enterprisedt.net.ftp.FTPDataSocket
Get the appropriate input stream for reading from
getInputStream() - Method in class com.enterprisedt.net.ftp.FTPPassiveDataSocket
If active mode, accepts the FTP server's connection - in PASV, we are already connected.
getLastValidReply() - Method in class com.enterprisedt.net.ftp.FTPClient
Gets the latest valid reply from the server
getLinkCount() - Method in class com.enterprisedt.net.ftp.FTPFile
 
getLinkedname() - Method in class com.enterprisedt.net.ftp.FTPFile
 
getLocalPort() - Method in class com.enterprisedt.net.ftp.FTPActiveDataSocket
Returns the local port to which this socket is bound.
getLocalPort() - Method in interface com.enterprisedt.net.ftp.FTPDataSocket
Returns the local port to which this socket is bound.
getLocalPort() - Method in class com.enterprisedt.net.ftp.FTPPassiveDataSocket
Returns the local port to which this socket is bound.
getLog() - Method in class com.enterprisedt.net.ftp.FTPMessageCollector
Get the log of messages
getLogName() - Method in class com.enterprisedt.net.ftp.test.FTPTestCase
Get name of log file
getLogName() - Method in class com.enterprisedt.net.ftp.test.TestDirOperations
Get name of log file
getLogName() - Method in class com.enterprisedt.net.ftp.test.TestFeatures
Get name of log file
getLogName() - Method in class com.enterprisedt.net.ftp.test.TestFileOperations
Get name of log file
getLogName() - Method in class com.enterprisedt.net.ftp.test.TestGeneral
Get name of log file
getLogName() - Method in class com.enterprisedt.net.ftp.test.TestListings
Get name of log file
getLogName() - Method in class com.enterprisedt.net.ftp.test.TestLogin
Get name of log file
getLogName() - Method in class com.enterprisedt.net.ftp.test.TestMode
Get name of log file
getLogName() - Method in class com.enterprisedt.net.ftp.test.TestResume
Get name of log file
getLogName() - Method in class com.enterprisedt.net.ftp.test.TestTimeout
Get name of log file
getLogName() - Method in class com.enterprisedt.net.ftp.test.TestTransfer
Get name of log file
getLogger(Class) - Static method in class com.enterprisedt.util.debug.Logger
Get a logger for the supplied class
getLogger(String) - Static method in class com.enterprisedt.util.debug.Logger
Get a logger for the supplied class
getMonitorInterval() - Method in class com.enterprisedt.net.ftp.FTPClient
Get the bytes transferred between each callback on the progress monitor
getName() - Method in class com.enterprisedt.net.ftp.FTPFile
 
getOutputStream() - Method in class com.enterprisedt.net.ftp.FTPActiveDataSocket
If active mode, accepts the FTP server's connection - in PASV, we are already connected.
getOutputStream() - Method in interface com.enterprisedt.net.ftp.FTPDataSocket
Get the appropriate output stream for writing to
getOutputStream() - Method in class com.enterprisedt.net.ftp.FTPPassiveDataSocket
If active mode, accepts the FTP server's connection - in PASV, we are already connected.
getOwner() - Method in class com.enterprisedt.net.ftp.FTPFile
 
getPermissions() - Method in class com.enterprisedt.net.ftp.FTPFile
 
getRaw() - Method in class com.enterprisedt.net.ftp.FTPFile
 
getReplyCode() - Method in class com.enterprisedt.net.ftp.FTPException
Get the reply code if it exists
getReplyCode() - Method in class com.enterprisedt.net.ftp.FTPReply
Getter for reply code
getReplyData() - Method in class com.enterprisedt.net.ftp.FTPReply
Getter for reply data lines
getReplyText() - Method in class com.enterprisedt.net.ftp.FTPReply
Getter for reply text
getSystem() - Method in class com.enterprisedt.net.ftp.FTPFileFactory
Get the SYST string
getTransferBufferSize() - Method in class com.enterprisedt.net.ftp.FTPClient
Get the size of the buffers used in writing to and reading from the data sockets
getType() - Method in class com.enterprisedt.net.ftp.FTPClient
Get the current transfer type
getType() - Method in class com.enterprisedt.net.ftp.FTPFile
Get the type of file, i.e UNIX
getVersion() - Static method in class com.enterprisedt.net.ftp.FTPClient
Get the version of edtFTPj
group - Variable in class com.enterprisedt.net.ftp.FTPFile
Group if known

H

help(String) - Method in class com.enterprisedt.net.ftp.FTPClient
Get the help text for the specified command
host - Variable in class com.enterprisedt.net.ftp.test.FTPTestCase
Remote test host

I

INFO - Static variable in class com.enterprisedt.util.debug.Level
Info level
info(String) - Method in class com.enterprisedt.util.debug.Logger
Log an info level message
info(String, Throwable) - Method in class com.enterprisedt.util.debug.Logger
Log an info level message
initSOCKS(String, String) - Static method in class com.enterprisedt.net.ftp.FTPClient
Set up SOCKS v4/v5 proxy settings.
initSOCKSAuthentication(String, String) - Static method in class com.enterprisedt.net.ftp.FTPClient
Set up SOCKS username and password for SOCKS username/password authentication.
initialize(FTPControlSocket) - Method in class com.enterprisedt.net.ftp.FTPClient
Set the control socket explicitly
isDebugEnabled() - Method in class com.enterprisedt.util.debug.Logger
Is logging enabled for the supplied level?
isDir - Variable in class com.enterprisedt.net.ftp.FTPFile
Is this a directory?
isDir() - Method in class com.enterprisedt.net.ftp.FTPFile
 
isEnabledFor(Level) - Method in class com.enterprisedt.util.debug.Logger
Is logging enabled for the supplied level?
isInfoEnabled() - Method in class com.enterprisedt.util.debug.Logger
Is logging enabled for the supplied level?
isLink - Variable in class com.enterprisedt.net.ftp.FTPFile
Is this file a symbolic link?
isLink() - Method in class com.enterprisedt.net.ftp.FTPFile
 
isStrictReturnCodes() - Method in class com.enterprisedt.net.ftp.FTPClient
Determine if strict checking of return codes is switched on.
isUnix(String) - Static method in class com.enterprisedt.net.ftp.UnixFileParser
Is this a Unix format listing?

L

Level - class com.enterprisedt.util.debug.Level.
Simple debug level class.
Logger - class com.enterprisedt.util.debug.Logger.
Logger class that mimics log4j Logger class.
lastModified - Variable in class com.enterprisedt.net.ftp.FTPFile
Last modified
lastModified() - Method in class com.enterprisedt.net.ftp.FTPFile
 
lastValidReply - Variable in class com.enterprisedt.net.ftp.FTPClient
Holds the last valid reply from the server on the control socket
linkCount - Variable in class com.enterprisedt.net.ftp.FTPFile
Number of links to file
linkedname - Variable in class com.enterprisedt.net.ftp.FTPFile
Name of file this is linked to
list(String) - Method in class com.enterprisedt.net.ftp.FTPClient
Deprecated. As of FTP 1.1, replaced by FTPClient.dir(String)
list(String, boolean) - Method in class com.enterprisedt.net.ftp.FTPClient
Deprecated. As of FTP 1.1, replaced by FTPClient.dir(String,boolean)
localBinaryFile - Variable in class com.enterprisedt.net.ftp.test.FTPTestCase
Local binary file
localEmptyFile - Variable in class com.enterprisedt.net.ftp.test.FTPTestCase
Local empty file
localTextFile - Variable in class com.enterprisedt.net.ftp.test.FTPTestCase
Local text file
log - Variable in class com.enterprisedt.net.ftp.test.FTPTestCase
Log stream
log(String) - Method in interface com.enterprisedt.util.debug.Appender
Log a message
log(Throwable) - Method in interface com.enterprisedt.util.debug.Appender
Log a stack trace
log(String) - Method in class com.enterprisedt.util.debug.FileAppender
Log a message
log(Throwable) - Method in class com.enterprisedt.util.debug.FileAppender
 
log(Level, String, Throwable) - Method in class com.enterprisedt.util.debug.Logger
Log a message
log(String) - Method in class com.enterprisedt.util.debug.StandardOutputAppender
Log a message
log(Throwable) - Method in class com.enterprisedt.util.debug.StandardOutputAppender
 
logCommand(String) - Method in class com.enterprisedt.net.ftp.FTPMessageCollector
Log an FTP command being sent to the server
logCommand(String) - Method in interface com.enterprisedt.net.ftp.FTPMessageListener
Log an FTP command being sent to the server
logReply(String) - Method in class com.enterprisedt.net.ftp.FTPMessageCollector
Log an FTP reply being sent back to the client
logReply(String) - Method in interface com.enterprisedt.net.ftp.FTPMessageListener
Log an FTP reply being sent back to the client
login(String, String) - Method in class com.enterprisedt.net.ftp.FTPClient
Login into an account on the FTP server.
login() - Method in class com.enterprisedt.net.ftp.test.FTPTestCase
Login to the server
logout() - Method in class com.enterprisedt.net.ftp.FTPControlSocket
Quit this FTP session and clean up.

M

main(String[]) - Static method in class com.enterprisedt.net.ftp.test.FTPClientTest
Test harness
main(String[]) - Static method in class com.enterprisedt.net.ftp.test.FileParserTest
Standard main()
main(String[]) - Static method in class com.enterprisedt.net.ftp.test.TestDirOperations
Enable our class to be run, doing the tests
main(String[]) - Static method in class com.enterprisedt.net.ftp.test.TestFeatures
Enable our class to be run, doing the tests
main(String[]) - Static method in class com.enterprisedt.net.ftp.test.TestFileOperations
Enable our class to be run, doing the tests
main(String[]) - Static method in class com.enterprisedt.net.ftp.test.TestGeneral
Enable our class to be run, doing the tests
main(String[]) - Static method in class com.enterprisedt.net.ftp.test.TestListings
Enable our class to be run, doing the tests
main(String[]) - Static method in class com.enterprisedt.net.ftp.test.TestLogin
Enable our class to be run, doing the tests
main(String[]) - Static method in class com.enterprisedt.net.ftp.test.TestMode
Enable our class to be run, doing the tests
main(String[]) - Static method in class com.enterprisedt.net.ftp.test.TestResume
Enable our class to be run, doing the tests
main(String[]) - Static method in class com.enterprisedt.net.ftp.test.TestTimeout
Enable our class to be run, doing the tests
main(String[]) - Static method in class com.enterprisedt.net.ftp.test.TestTransfer
Enable our class to be run, doing the tests
messageListener - Variable in class com.enterprisedt.net.ftp.FTPClient
Message listener
mkdir(String) - Method in class com.enterprisedt.net.ftp.FTPClient
Create the specified remote working directory
modtime(String) - Method in class com.enterprisedt.net.ftp.FTPClient
Get modification time for a remote file

N

name - Variable in class com.enterprisedt.net.ftp.FTPFile
File/dir name
newActiveDataSocket(int) - Method in class com.enterprisedt.net.ftp.FTPControlSocket
Constructs a new FTPDataSocket object (server mode) which will listen on the given port number.
newPassiveDataSocket(String, int) - Method in class com.enterprisedt.net.ftp.FTPControlSocket
Constructs a new FTPDataSocket object (client mode) and connect to the given remote host and port number.

O

OFF - Static variable in class com.enterprisedt.util.debug.Level
Off level
owner - Variable in class com.enterprisedt.net.ftp.FTPFile
Owner if known

P

PASV - Static variable in class com.enterprisedt.net.ftp.FTPConnectMode
Represents PASV connect mode
parse(String[]) - Method in class com.enterprisedt.net.ftp.FTPFileFactory
Parse an array of raw file information returned from the FTP server
parse(String) - Method in class com.enterprisedt.net.ftp.FTPFileParser
Parse server supplied string
parse(String) - Method in class com.enterprisedt.net.ftp.UnixFileParser
Parse server supplied string, e.g.: lrwxrwxrwx 1 wuftpd wuftpd 14 Jul 22 2002 MIRRORS -> README-MIRRORS -rw-r--r-- 1 b173771 users 431 Mar 31 20:04 .htaccess
parse(String) - Method in class com.enterprisedt.net.ftp.WindowsFileParser
Parse server supplied string.
password(String) - Method in class com.enterprisedt.net.ftp.FTPClient
Supplies the password for a previously supplied username to log into the FTP server.
password - Variable in class com.enterprisedt.net.ftp.test.FTPTestCase
User password
permissions - Variable in class com.enterprisedt.net.ftp.FTPFile
Permission bits string
props - Variable in class com.enterprisedt.net.ftp.test.FTPTestCase
Loaded properties
put(String, String) - Method in class com.enterprisedt.net.ftp.FTPClient
Put a local file onto the FTP server.
put(InputStream, String) - Method in class com.enterprisedt.net.ftp.FTPClient
Put a stream of data onto the FTP server.
put(String, String, boolean) - Method in class com.enterprisedt.net.ftp.FTPClient
Put a local file onto the FTP server.
put(InputStream, String, boolean) - Method in class com.enterprisedt.net.ftp.FTPClient
Put a stream of data onto the FTP server.
put(byte[], String) - Method in class com.enterprisedt.net.ftp.FTPClient
Put data onto the FTP server.
put(byte[], String, boolean) - Method in class com.enterprisedt.net.ftp.FTPClient
Put data onto the FTP server.
pwd() - Method in class com.enterprisedt.net.ftp.FTPClient
Get the current remote working directory

Q

quit() - Method in class com.enterprisedt.net.ftp.FTPClient
Quit the FTP session
quote(String, String[]) - Method in class com.enterprisedt.net.ftp.FTPClient
Issue arbitrary ftp commands to the FTP server.

R

raw - Variable in class com.enterprisedt.net.ftp.FTPFile
Raw string
readChar(LineNumberReader) - Method in class com.enterprisedt.net.ftp.FTPClient
Attempts to read a single character from the given InputStream.
readChunk(BufferedInputStream, byte[], int) - Method in class com.enterprisedt.net.ftp.FTPClient
Attempts to read a specified number of bytes from the given InputStream and place it in the given byte-array.
readLine(LineNumberReader) - Method in class com.enterprisedt.net.ftp.FTPClient
Attempts to read a single line from the given InputStream.
reader - Variable in class com.enterprisedt.net.ftp.FTPControlSocket
The reader that reads control data from the control socket
remoteBinaryFile - Variable in class com.enterprisedt.net.ftp.test.FTPTestCase
Remote binary file
remoteEmptyDir - Variable in class com.enterprisedt.net.ftp.test.FTPTestCase
Remote empty dir
remoteEmptyFile - Variable in class com.enterprisedt.net.ftp.test.FTPTestCase
Remote empty file
remoteTextFile - Variable in class com.enterprisedt.net.ftp.test.FTPTestCase
Remote text file
rename(String, String) - Method in class com.enterprisedt.net.ftp.FTPClient
Rename a file or directory
resume() - Method in class com.enterprisedt.net.ftp.FTPClient
Make the next file transfer (put or get) resume.
rmdir(String) - Method in class com.enterprisedt.net.ftp.FTPClient
Delete the specified remote working directory

S

StandardOutputAppender - class com.enterprisedt.util.debug.StandardOutputAppender.
Appends log statements to standard output
StandardOutputAppender() - Constructor for class com.enterprisedt.util.debug.StandardOutputAppender
Constructor
sendCommand(String) - Method in class com.enterprisedt.net.ftp.FTPControlSocket
Send a command to the FTP server and return the server's reply as a structured reply object
setConnectMode(FTPConnectMode) - Method in class com.enterprisedt.net.ftp.FTPClient
Set the connect mode
setFTPFileFactory(FTPFileFactory) - Method in class com.enterprisedt.net.ftp.FTPClient
Override the chosen file factory with a user created one - meaning that a specific parser has been selected
setLevel(Level) - Static method in class com.enterprisedt.util.debug.Logger
Set all loggers to this level
setLinkCount(int) - Method in class com.enterprisedt.net.ftp.FTPFile
 
setLocale(Locale) - Method in class com.enterprisedt.net.ftp.FTPFileFactory
Set the locale for date parsing of listings
setLocale(Locale) - Method in class com.enterprisedt.net.ftp.FTPFileParser
Set the locale for date parsing of listings
setLocale(Locale) - Method in class com.enterprisedt.net.ftp.UnixFileParser
Set the locale for date parsing of listings
setLocale(Locale) - Method in class com.enterprisedt.net.ftp.WindowsFileParser
Set the locale for date parsing of listings
setMessageListener(FTPMessageListener) - Method in class com.enterprisedt.net.ftp.FTPClient
Set a listener that handles all FTP messages
setParserLocale(Locale) - Method in class com.enterprisedt.net.ftp.FTPClient
Set the locale for date parsing of dir listings
setProgressMonitor(FTPProgressMonitor, long) - Method in class com.enterprisedt.net.ftp.FTPClient
Set a progress monitor for callbacks.
setProgressMonitor(FTPProgressMonitor) - Method in class com.enterprisedt.net.ftp.FTPClient
Set a progress monitor for callbacks.
setStrictReturnCodes(boolean) - Method in class com.enterprisedt.net.ftp.FTPClient
Set strict checking of FTP return codes.
setTimeout(int) - Method in class com.enterprisedt.net.ftp.FTPActiveDataSocket
Set the TCP timeout on the underlying data socket(s).
setTimeout(int) - Method in class com.enterprisedt.net.ftp.FTPClient
Set the TCP timeout on the underlying socket.
setTimeout(int) - Method in interface com.enterprisedt.net.ftp.FTPDataSocket
Set the TCP timeout on the underlying control socket.
setTimeout(int) - Method in class com.enterprisedt.net.ftp.FTPPassiveDataSocket
Set the TCP timeout on the underlying control socket.
setTransferBufferSize(int) - Method in class com.enterprisedt.net.ftp.FTPClient
Set the size of the buffers used in writing to and reading from the data sockets
setType(FTPTransferType) - Method in class com.enterprisedt.net.ftp.FTPClient
Set the transfer type
setUp() - Method in class com.enterprisedt.net.ftp.test.FTPTestCase
Setup is called before running each test
shutdown() - Static method in class com.enterprisedt.util.debug.Logger
Close all appenders
site(String) - Method in class com.enterprisedt.net.ftp.FTPClient
Run a site-specific command on the server.
size(String) - Method in class com.enterprisedt.net.ftp.FTPClient
Get the size of a remote file.
size - Variable in class com.enterprisedt.net.ftp.FTPFile
Size of file
size() - Method in class com.enterprisedt.net.ftp.FTPFile
 
sock - Variable in class com.enterprisedt.net.ftp.FTPActiveDataSocket
The underlying socket for Active connection.
sock - Variable in class com.enterprisedt.net.ftp.FTPPassiveDataSocket
The underlying socket
split(String) - Method in class com.enterprisedt.net.ftp.FTPFileParser
Splits string consisting of fields separated by whitespace into an array of strings.
strictReplies - Variable in class com.enterprisedt.net.ftp.test.FTPTestCase
Strict reply checking?
suite() - Static method in class com.enterprisedt.net.ftp.test.TestDirOperations
Automatic test suite construction
suite() - Static method in class com.enterprisedt.net.ftp.test.TestFeatures
Automatic test suite construction
suite() - Static method in class com.enterprisedt.net.ftp.test.TestFileOperations
Automatic test suite construction
suite() - Static method in class com.enterprisedt.net.ftp.test.TestGeneral
Automatic test suite construction
suite() - Static method in class com.enterprisedt.net.ftp.test.TestListings
Automatic test suite construction
suite() - Static method in class com.enterprisedt.net.ftp.test.TestLogin
Automatic test suite construction
suite() - Static method in class com.enterprisedt.net.ftp.test.TestMode
Automatic test suite construction
suite() - Static method in class com.enterprisedt.net.ftp.test.TestResume
Automatic test suite construction
suite() - Static method in class com.enterprisedt.net.ftp.test.TestTimeout
Automatic test suite construction
suite() - Static method in class com.enterprisedt.net.ftp.test.TestTransfer
Automatic test suite construction
system() - Method in class com.enterprisedt.net.ftp.FTPClient
Get the type of the OS at the server

T

TestDirOperations - class com.enterprisedt.net.ftp.test.TestDirOperations.
Tests directory navigation and directory creation/deletion functionality
TestDirOperations() - Constructor for class com.enterprisedt.net.ftp.test.TestDirOperations
 
TestFeatures - class com.enterprisedt.net.ftp.test.TestFeatures.
Test general methods such as site() and quote()
TestFeatures() - Constructor for class com.enterprisedt.net.ftp.test.TestFeatures
 
TestFileOperations - class com.enterprisedt.net.ftp.test.TestFileOperations.
Tests various file operations
TestFileOperations() - Constructor for class com.enterprisedt.net.ftp.test.TestFileOperations
 
TestGeneral - class com.enterprisedt.net.ftp.test.TestGeneral.
Test general methods such as site() and quote()
TestGeneral() - Constructor for class com.enterprisedt.net.ftp.test.TestGeneral
 
TestListings - class com.enterprisedt.net.ftp.test.TestListings.
Tests the various commands that list directories
TestListings() - Constructor for class com.enterprisedt.net.ftp.test.TestListings
 
TestLogin - class com.enterprisedt.net.ftp.test.TestLogin.
Test login functionality
TestLogin() - Constructor for class com.enterprisedt.net.ftp.test.TestLogin
 
TestMode - class com.enterprisedt.net.ftp.test.TestMode.
Tests that active and passive mode work correctly
TestMode() - Constructor for class com.enterprisedt.net.ftp.test.TestMode
 
TestResume - class com.enterprisedt.net.ftp.test.TestResume.
Test get'ing and put'ing of remote files in various ways
TestResume() - Constructor for class com.enterprisedt.net.ftp.test.TestResume
 
TestTimeout - class com.enterprisedt.net.ftp.test.TestTimeout.
Test timeout functionality.
TestTimeout() - Constructor for class com.enterprisedt.net.ftp.test.TestTimeout
 
TestTransfer - class com.enterprisedt.net.ftp.test.TestTransfer.
Test get'ing and put'ing of remote files in various ways
TestTransfer() - Constructor for class com.enterprisedt.net.ftp.test.TestTransfer
 
tearDown() - Method in class com.enterprisedt.net.ftp.test.FTPTestCase
Deallocate resources at close of each test
testDelete() - Method in class com.enterprisedt.net.ftp.test.TestFileOperations
Test remote deletion
testDir() - Method in class com.enterprisedt.net.ftp.test.TestDirOperations
Test we can make a directory, and change into it, and remove it
testDir() - Method in class com.enterprisedt.net.ftp.test.TestListings
Test directory listings
testDirFull() - Method in class com.enterprisedt.net.ftp.test.TestListings
Test full directory listings
testFeatures() - Method in class com.enterprisedt.net.ftp.test.TestFeatures
Test features() command
testGetBytes() - Method in class com.enterprisedt.net.ftp.test.TestTransfer
Test getting a byte array
testLogin1() - Method in class com.enterprisedt.net.ftp.test.TestLogin
Test we can login ok
testLogin2() - Method in class com.enterprisedt.net.ftp.test.TestLogin
Test two stage login
testModtime() - Method in class com.enterprisedt.net.ftp.test.TestFileOperations
Test finding the modification time of a file
testPutAppend() - Method in class com.enterprisedt.net.ftp.test.TestTransfer
Test the append functionality in put()
testRename() - Method in class com.enterprisedt.net.ftp.test.TestFileOperations
Test renaming of a file
testRenameDir() - Method in class com.enterprisedt.net.ftp.test.TestDirOperations
Test renaming a dir
testResumeGet() - Method in class com.enterprisedt.net.ftp.test.TestResume
Test resuming when putting a binary file
testResumePut() - Method in class com.enterprisedt.net.ftp.test.TestResume
Test resuming when putting a binary file
testSize() - Method in class com.enterprisedt.net.ftp.test.TestFileOperations
Test the size() method
testSystem() - Method in class com.enterprisedt.net.ftp.test.TestGeneral
Test some general methods
testTimeout() - Method in class com.enterprisedt.net.ftp.test.TestTimeout
Test some general methods
testTransferBinary() - Method in class com.enterprisedt.net.ftp.test.TestTransfer
Test transfering a binary file
testTransferEmpty() - Method in class com.enterprisedt.net.ftp.test.TestTransfer
Test transferring empty files
testTransferNonExistent() - Method in class com.enterprisedt.net.ftp.test.TestTransfer
Test transferring non-existent files
testTransferStream() - Method in class com.enterprisedt.net.ftp.test.TestTransfer
Test the stream functionality
testTransferText() - Method in class com.enterprisedt.net.ftp.test.TestTransfer
Test transfering a text file
testdir - Variable in class com.enterprisedt.net.ftp.test.FTPTestCase
Remote directory that remote test files/dirs are in
timeout - Variable in class com.enterprisedt.net.ftp.test.FTPTestCase
Socket timeout
toByteArray(short) - Method in class com.enterprisedt.net.ftp.FTPControlSocket
Convert a short into a byte array
toString() - Method in class com.enterprisedt.net.ftp.FTPFile
 
toString() - Method in class com.enterprisedt.util.debug.Level
String representation

U

UNIX - Static variable in class com.enterprisedt.net.ftp.FTPFile
UNIX type
UNKNOWN - Static variable in class com.enterprisedt.net.ftp.FTPFile
Unknown remote server type
UnixFileParser - class com.enterprisedt.net.ftp.UnixFileParser.
Represents a remote Unix file parser
UnixFileParser() - Constructor for class com.enterprisedt.net.ftp.UnixFileParser
Constructor
usage() - Static method in class com.enterprisedt.net.ftp.test.FTPClientTest
Basic usage statement
user(String) - Method in class com.enterprisedt.net.ftp.FTPClient
Supply the user name to log into an account on the FTP server.
user - Variable in class com.enterprisedt.net.ftp.test.FTPTestCase
Test user

V

validateReply(String, String[]) - Method in class com.enterprisedt.net.ftp.FTPControlSocket
Validate the response the host has supplied against the expected reply.
validateReply(FTPReply, String[]) - Method in class com.enterprisedt.net.ftp.FTPControlSocket
Validate the response the host has supplied against the expected reply.
validateReply(FTPReply, String) - Method in class com.enterprisedt.net.ftp.FTPControlSocket
Validate the response the host has supplied against the expected reply.
validateTransfer() - Method in class com.enterprisedt.net.ftp.FTPClient
Validate that the put() or get() was successful.

W

WARN - Static variable in class com.enterprisedt.util.debug.Level
Warn level
WINDOWS - Static variable in class com.enterprisedt.net.ftp.FTPFile
Windows type
WindowsFileParser - class com.enterprisedt.net.ftp.WindowsFileParser.
Represents a remote Windows file parser
WindowsFileParser() - Constructor for class com.enterprisedt.net.ftp.WindowsFileParser
Constructor
warn(String) - Method in class com.enterprisedt.util.debug.Logger
Log a warning level message
warn(String, Throwable) - Method in class com.enterprisedt.util.debug.Logger
Log a warning level message
writer - Variable in class com.enterprisedt.net.ftp.FTPControlSocket
The write that writes to the control socket

A B C D E F G H I L M N O P Q R S T U V W

Copyright (c) 2001-2004 Enterprise Distributed Technologies Ltd. All Rights Reserved.