Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
F
G
H
I
L
M
P
Q
R
S
T
U
A
ACTIVE
- Static variable in class com.enterprisedt.net.ftp.
FTPConnectMode
Represents active connect mode
ASCII
- Static variable in class com.enterprisedt.net.ftp.
FTPTransferType
Represents ASCII transfer type
assertIdentical(byte[], byte[])
- Method in class com.enterprisedt.net.ftp.test.
FTPTestCase
Test to see if two buffers 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
assertIdentical(String, String)
- 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
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
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 class com.enterprisedt.net.ftp.
FTPActiveDataSocket
Closes underlying sockets
com.enterprisedt.net.ftp
- package com.enterprisedt.net.ftp
com.enterprisedt.net.ftp.test
- package com.enterprisedt.net.ftp.test
connect()
- 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
cvsId
- Static variable in interface com.enterprisedt.net.ftp.
FTPDataSocket
Revision control id
D
debugResponses(boolean)
- Method in class com.enterprisedt.net.ftp.
FTPClient
Switch debug of responses on or 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.
F
ftp
- Variable in class com.enterprisedt.net.ftp.test.
FTPTestCase
Reference to the FTP client
FTPActiveDataSocket
- class com.enterprisedt.net.ftp.
FTPActiveDataSocket
.
Active data socket handling class
FTPClient
- class com.enterprisedt.net.ftp.
FTPClient
.
Supports client-side FTP.
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, PrintWriter, int)
- Constructor for class com.enterprisedt.net.ftp.
FTPClient
Constructor.
FTPClient(InetAddress, PrintWriter, int)
- Constructor for class com.enterprisedt.net.ftp.
FTPClient
Constructor.
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, PrintWriter, int)
- Constructor for class com.enterprisedt.net.ftp.
FTPClient
Constructor.
FTPClient(String, PrintWriter, int)
- Constructor for class com.enterprisedt.net.ftp.
FTPClient
Constructor.
FTPClientTest
- class com.enterprisedt.net.ftp.test.
FTPClientTest
.
Crude 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(InetAddress, int, PrintWriter, int)
- Constructor for class com.enterprisedt.net.ftp.
FTPControlSocket
Constructor.
FTPControlSocket(String, int, PrintWriter, int)
- Constructor for class com.enterprisedt.net.ftp.
FTPControlSocket
Constructor.
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.
FTPPassiveDataSocket
- class com.enterprisedt.net.ftp.
FTPPassiveDataSocket
.
Passive data socket handling class
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.
G
generateRandomFilename()
- Method in class com.enterprisedt.net.ftp.test.
FTPTestCase
Generate a random file name for testing
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.
get(String, String)
- Method in class com.enterprisedt.net.ftp.
FTPClient
Get data from the FTP server.
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.
getInputStream()
- Method in class com.enterprisedt.net.ftp.
FTPActiveDataSocket
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
getLogName()
- Method in class com.enterprisedt.net.ftp.test.
TestGeneral
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.
TestTimeout
Get name of log file
getLogName()
- Method in class com.enterprisedt.net.ftp.test.
TestTransfer
Get name of log file
getLogName()
- Method in class com.enterprisedt.net.ftp.test.
FTPTestCase
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.
TestDirOperations
Get name of log file
getLogName()
- Method in class com.enterprisedt.net.ftp.test.
TestListings
Get name of log file
getMonitorInterval()
- Method in class com.enterprisedt.net.ftp.
FTPClient
Get the bytes transferred between each callback on the progress monitor
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.
getOutputStream()
- Method in class com.enterprisedt.net.ftp.
FTPActiveDataSocket
If active mode, accepts the FTP server's connection - in PASV, we are already connected.
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
getReplyText()
- Method in class com.enterprisedt.net.ftp.
FTPReply
Getter for reply text
getType()
- Method in class com.enterprisedt.net.ftp.
FTPClient
Get the current transfer type
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
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.
L
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
login()
- Method in class com.enterprisedt.net.ftp.test.
FTPTestCase
Login to the server
login(String, String)
- Method in class com.enterprisedt.net.ftp.
FTPClient
Login into an account on the FTP 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.
TestGeneral
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.
FTPClientTest
Test harness.
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
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.
TestDirOperations
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
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
P
password
- Variable in class com.enterprisedt.net.ftp.test.
FTPTestCase
User password
password(String)
- Method in class com.enterprisedt.net.ftp.
FTPClient
Supplies the password for a previously supplied username to log into the FTP server.
PASV
- Static variable in class com.enterprisedt.net.ftp.
FTPConnectMode
Represents PASV connect mode
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.
put(InputStream, String)
- Method in class com.enterprisedt.net.ftp.
FTPClient
Put a stream of data 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(String, String)
- Method in class com.enterprisedt.net.ftp.
FTPClient
Put a local file onto the FTP server.
put(String, String, boolean)
- Method in class com.enterprisedt.net.ftp.
FTPClient
Put a local file 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
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
rmdir(String)
- Method in class com.enterprisedt.net.ftp.
FTPClient
Delete the specified remote working directory
S
setConnectMode(FTPConnectMode)
- Method in class com.enterprisedt.net.ftp.
FTPClient
Set the connect mode
setLogStream(PrintWriter)
- Method in class com.enterprisedt.net.ftp.
FTPClient
Set the logging stream, replacing stdout
setProgressMonitor(FTPProgressMonitor)
- Method in class com.enterprisedt.net.ftp.
FTPClient
Set a progress monitor for callbacks.
setProgressMonitor(FTPProgressMonitor, long)
- Method in class com.enterprisedt.net.ftp.
FTPClient
Set a progress monitor for callbacks.
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.
setTimeout(int)
- Method in class com.enterprisedt.net.ftp.
FTPActiveDataSocket
Set the TCP timeout on the underlying control socket.
setTimeout(int)
- Method in class com.enterprisedt.net.ftp.
FTPClient
Set the TCP timeout on the underlying socket.
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
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.
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.
TestFileOperations
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
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.
TestDirOperations
Automatic test suite construction
suite()
- Static method in class com.enterprisedt.net.ftp.test.
TestListings
Automatic test suite construction
system()
- Method in class com.enterprisedt.net.ftp.
FTPClient
Get the type of the OS at the server
T
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
- Variable in class com.enterprisedt.net.ftp.test.
FTPTestCase
Remote directory that remote test files/dirs are in
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
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
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
testGetBytes()
- Method in class com.enterprisedt.net.ftp.test.
TestTransfer
Test getting a byte array
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
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
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
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
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
- class com.enterprisedt.net.ftp.test.
TestTimeout
.
Test timeout functionality.
testTimeout()
- Method in class com.enterprisedt.net.ftp.test.
TestTimeout
Test some general methods
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
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
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
U
usage()
- Static method in class com.enterprisedt.net.ftp.test.
FTPClientTest
Basic usage statement
user
- Variable in class com.enterprisedt.net.ftp.test.
FTPTestCase
Test user
user(String)
- Method in class com.enterprisedt.net.ftp.
FTPClient
Supply the user name to log into an account on the FTP server.
A
B
C
D
F
G
H
I
L
M
P
Q
R
S
T
U
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright (c) 2001-2003 Enterprise Distributed Technologies Ltd. All Rights Reserved.