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

A

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

B

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

C

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.

D

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

E

EOL. Static variable in class com.enterprisedt.net.ftp.FTPControlSocket
Standard FTP end of line sequence

F

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

G

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

I

initStreams(). Method in class com.enterprisedt.net.ftp.FTPControlSocket
Obtain the reader/writer streams for this connection

L

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.FTPClientTest
Test harness.
mkdir(String). Method in class com.enterprisedt.net.ftp.FTPClient
Create the specified remote working directory

P

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.

Q

quit(). Method in class com.enterprisedt.net.ftp.FTPClient
Quit the FTP session

R

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

S

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

T

transferType. Variable in class com.enterprisedt.net.ftp.FTPClient
Record of the transfer type

U

usage(). Static method in class com.enterprisedt.net.ftp.FTPClientTest
Basic usage statement

V

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.

W

writer. Variable in class com.enterprisedt.net.ftp.FTPControlSocket
The write that writes to the control socket