All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- ASCII.
Static variable in class com.enterprisedt.net.ftp.FTPTransferType
- Represents ASCII transfer type
- ASCII_CHAR.
Static variable in class com.enterprisedt.net.ftp.FTPTransferType
- The char sent to the server to set ASCII
- BINARY.
Static variable in class com.enterprisedt.net.ftp.FTPTransferType
- Represents Image (or binary) transfer type
- BINARY_CHAR.
Static variable in class com.enterprisedt.net.ftp.FTPTransferType
- The char sent to the server to set BINARY
- chdir(String).
Method in class com.enterprisedt.net.ftp.FTPClient
- Change the remote working directory to
that supplied
- control.
Variable in class com.enterprisedt.net.ftp.FTPClient
- Socket responsible for controlling
the connection
- CONTROL_PORT.
Static variable in class com.enterprisedt.net.ftp.FTPControlSocket
- The control port number for FTP
- controlSock.
Variable in class com.enterprisedt.net.ftp.FTPControlSocket
- The underlying socket.
- createDataSocket().
Method in class com.enterprisedt.net.ftp.FTPControlSocket
- Request a data socket be created on the
server, connect to it and return our
connected socket.
- data.
Variable in class com.enterprisedt.net.ftp.FTPClient
- Socket responsible for transferring
the data
- delete(String).
Method in class com.enterprisedt.net.ftp.FTPClient
- Delete the specified remote file
- EOL.
Static variable in class com.enterprisedt.net.ftp.FTPControlSocket
- Standard FTP end of line sequence
- FTPClient(InetAddress).
Constructor for class com.enterprisedt.net.ftp.FTPClient
- Constructor.
- FTPClient(String).
Constructor for class com.enterprisedt.net.ftp.FTPClient
- Constructor.
- FTPClientTest().
Constructor for class com.enterprisedt.net.ftp.FTPClientTest
-
- FTPControlSocket(InetAddress).
Constructor for class com.enterprisedt.net.ftp.FTPControlSocket
- Constructor.
- FTPControlSocket(String).
Constructor for class com.enterprisedt.net.ftp.FTPControlSocket
- Constructor.
- FTPException(String).
Constructor for class com.enterprisedt.net.ftp.FTPException
- Constructor.
- FTPTransferType().
Constructor for class com.enterprisedt.net.ftp.FTPTransferType
- Private so no-one else can instantiate this class
- 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.
- getType().
Method in class com.enterprisedt.net.ftp.FTPClient
- Get the current transfer type
- initStreams().
Method in class com.enterprisedt.net.ftp.FTPControlSocket
- Obtain the reader/writer streams for this
connection
- 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.
- main(String[]).
Static method in class com.enterprisedt.net.ftp.FTPClientTest
- Test harness.
- mkdir(String).
Method in class com.enterprisedt.net.ftp.FTPClient
- Create the specified remote working directory
- put(byte[], String).
Method in class com.enterprisedt.net.ftp.FTPClient
- Put data onto the FTP server.
- put(String, String).
Method in class com.enterprisedt.net.ftp.FTPClient
- Put a local file onto the FTP server.
- quit().
Method in class com.enterprisedt.net.ftp.FTPClient
- Quit the FTP session
- reader.
Variable in class com.enterprisedt.net.ftp.FTPControlSocket
- The reader that reads control data from the
control socket
- readReply().
Method in class com.enterprisedt.net.ftp.FTPControlSocket
- Read the FTP server's reply to a previously
issued command.
- rmdir(String).
Method in class com.enterprisedt.net.ftp.FTPClient
- Delete the specified remote working directory
- sendCommand(String).
Method in class com.enterprisedt.net.ftp.FTPControlSocket
- Send a command to the FTP server and
return the server's reply
- setType(FTPTransferType).
Method in class com.enterprisedt.net.ftp.FTPClient
- Delete the specified remote file
- transferType.
Variable in class com.enterprisedt.net.ftp.FTPClient
- Record of the transfer type
- usage().
Static method in class com.enterprisedt.net.ftp.FTPClientTest
- Basic usage statement
- validateConnection().
Method in class com.enterprisedt.net.ftp.FTPControlSocket
- Checks that the standard 220 reply is returned
following the initiated connection
- validateReply(String, String).
Method in class com.enterprisedt.net.ftp.FTPControlSocket
- Validate the response the host has supplied against the
expected reply.
- writer.
Variable in class com.enterprisedt.net.ftp.FTPControlSocket
- The write that writes to the control socket