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

abort(). Method in class com.fooware.net.FtpClient
ABORT (ABOR)
This command tells the server to abort the previous FTP service command and any associated transfer of data.
account(String). Method in class com.fooware.net.FtpClient
ACCOUNT (ACCT)
The argument field is a Telnet string identifying the user's account.
allocate(int). Method in class com.fooware.net.FtpClient
allocate(int, int). Method in class com.fooware.net.FtpClient
ALLOCATE (ALLO)
This command may be required by some servers to reserve sufficient storage to accommodate the new file to be transferred.
append(String). Method in class com.fooware.net.FtpClient
APPEND (with create) (APPE)
This command causes the server-DTP to accept the data transferred via the data connection and to store the data in a file at the server site.
ASCII_TYPE. Static variable in class com.fooware.net.FtpClient

B

BLOCK_MODE. Static variable in class com.fooware.net.FtpClient

C

CARRIAGE_CONTROL_FORMAT. Static variable in class com.fooware.net.FtpClient
ChameleonLink(). Constructor for class com.fooware.website.ChameleonLink
changeToParentDirectory(). Method in class com.fooware.net.FtpClient
CHANGE TO PARENT DIRECTORY (CDUP)
This command is a special case of CWD, and is included to simplify the implementation of programs for transferring directory trees between operating systems having different syntaxes for naming the parent directory.
changeWorkingDirectory(String). Method in class com.fooware.net.FtpClient
CHANGE WORKING DIRECTORY (CWD)
This command allows the user to work with a different directory or dataset for file storage or retrieval without altering his login or accounting information.
close(). Method in class com.fooware.net.FtpReader
Close the underlying Reader and signal the FtpClient that Reader processing has completed.
close(). Method in class com.fooware.net.FtpWriter
Close the underlying Writer and signal the FtpClient that Writer processing has completed.
closeTransferSocket(). Method in class com.fooware.net.FtpClient
Called by the FtpReader and FtpWriter classes when they are explicitly closed.
CommandLine(CommandLineable). Constructor for class com.fooware.util.CommandLine
Create a new CommandLine for the client.
COMPRESSED_MODE. Static variable in class com.fooware.net.FtpClient
connect(String). Method in class com.fooware.net.FtpClient
Connect to the server at the host on the default FTP port.
connect(String, int). Method in class com.fooware.net.FtpClient
Connect to the server at the host on the port.

D

dataPort(). Method in class com.fooware.net.FtpClient
DATA PORT (PORT)
The argument is a HOST-PORT specification for the data port to be used in data connection.
DEFAULT_PORT. Static variable in class com.fooware.net.FtpClient
delete(String). Method in class com.fooware.net.FtpClient
DELETE (DELE) This command causes the file specified in the pathname to be deleted at the server site.
doCommand(String, String[]). Method in interface com.fooware.util.CommandLineable
Do the command as sent by the CommandLine.

E

EBCDIC_TYPE. Static variable in class com.fooware.net.FtpClient

F

FILE_STRUCTURE. Static variable in class com.fooware.net.FtpClient
FtpClient(). Constructor for class com.fooware.net.FtpClient
FtpReader(Reader, FtpClient). Constructor for class com.fooware.net.FtpReader
Contruct an FtpReader for the specified FtpClient.
FtpResponse(BufferedReader). Constructor for class com.fooware.net.FtpResponse
Construct a new FtpResponse, whose contents will be derived from the BufferedReader.
FtpWriter(Writer, FtpClient). Constructor for class com.fooware.net.FtpWriter
Contruct an FtpWriter for the specified FtpClient.

G

getAllResponses(). Method in class com.fooware.net.FtpClient
Return an enumeration of all the responses received from the FTP server.
getMessage(). Method in class com.fooware.net.FtpResponse
Return the reply from the FTP server in its entirety.
getPromptString(). Method in class com.fooware.util.CommandLine
Get the prompt displayed at the command line.
getResponse(). Method in class com.fooware.net.FtpClient
Return the last response received from the FTP server.
getReturnCode(). Method in class com.fooware.net.FtpResponse
Return the 3-digit return code that is also the first 3 characters of the FTP reply.

H

help(). Method in class com.fooware.net.FtpClient
help(String). Method in class com.fooware.net.FtpClient
HELP (HELP)
This command shall cause the server to send helpful information regarding its implementation status over the control connection to the user.

I

IMAGE_TYPE. Static variable in class com.fooware.net.FtpClient
init(). Method in class com.fooware.website.ChameleonLink
Read in the various parameters from the tags.
isPermanentNegativeCompletion(). Method in class com.fooware.net.FtpResponse
Returns true if the first character of the return code indicates a permanent negative reply, as outlined in RFC959.
isPositiveCompletion(). Method in class com.fooware.net.FtpResponse
Returns true if the first character of the return code indicates a positive completion reply, as outlined in RFC959.
isPositiveIntermediary(). Method in class com.fooware.net.FtpResponse
Returns true if the first character of the return code indicates a positive intermediary reply, as outlined in RFC959.
isPositivePreliminary(). Method in class com.fooware.net.FtpResponse
Returns true if the first character of the return code indicates a positive prelimary reply, as outlined in RFC959.
isRegardingAuthentication(). Method in class com.fooware.net.FtpResponse
Returns true if the second character of the return code indicates a reply pertaining to authentication, as outlined in RFC959.
isRegardingConnection(). Method in class com.fooware.net.FtpResponse
Returns true if the second character of the return code indicates a reply pertaining to connection, as outlined in RFC959.
isRegardingFileSystem(). Method in class com.fooware.net.FtpResponse
Returns true if the second character of the return code indicates a reply pertaining to file system, as outlined in RFC959.
isRegardingInformation(). Method in class com.fooware.net.FtpResponse
Returns true if the second character of the return code indicates a reply pertaining to information, as outlined in RFC959.
isRegardingSyntax(). Method in class com.fooware.net.FtpResponse
Returns true if the second character of the return code indicates a reply pertaining to syntax (or maybe just superfluous), as outlined in RFC959.
isTransientNegativeCompletion(). Method in class com.fooware.net.FtpResponse
Returns true if the first character of the return code indicates a transient negative reply, as outlined in RFC959.

L

list(). Method in class com.fooware.net.FtpClient
list(String). Method in class com.fooware.net.FtpClient
LIST (LIST)
This command causes a list to be sent from the server to the passive DTP.
LOCAL_FORMAT. Static variable in class com.fooware.net.FtpClient
Lock(). Constructor for class com.fooware.examples.Lock
logout(). Method in class com.fooware.net.FtpClient
LOGOUT (QUIT)
This command terminates a USER and if file transfer is not in progress, the server closes the control connection.

M

main(String[]). Static method in class com.fooware.util.CommandLine
Runs the example.
main(String[]). Static method in class com.fooware.net.FtpClient
Run from the command line.
main(String[]). Static method in class com.fooware.examples.Lock
makeDirectory(String). Method in class com.fooware.net.FtpClient
MAKE DIRECTORY (MKD)
This command causes the directory specified in the pathname to be created as a directory (if the pathname is absolute) or as a subdirectory of the current working directory (if the pathname is relative).

N

nameList(). Method in class com.fooware.net.FtpClient
nameList(String). Method in class com.fooware.net.FtpClient
NAME LIST (NLST) This command causes a directory listing to be sent from server to user site.
NON_PRINT_FORMAT. Static variable in class com.fooware.net.FtpClient
noOp(). Method in class com.fooware.net.FtpClient
NOOP (NOOP)
This command does not affect any parameters or previously entered commands.
NotImplementedException(). Constructor for class com.fooware.dev.NotImplementedException
Constructs a NotImplementedException with no detail message.
NotImplementedException(String). Constructor for class com.fooware.dev.NotImplementedException
Constructs a NotImplementedException with a detail message.

P

PAGE_STRUCTURE. Static variable in class com.fooware.net.FtpClient
paint(Graphics). Method in class com.fooware.website.ChameleonLink
Paint the link text onto the screen.
passive(). Method in class com.fooware.net.FtpClient
PASSIVE (PASV)
This command requests the server-DTP to "listen" on a data port (which is not its default data port) and to wait for a connection rather than initiate one upon receipt of a transfer command.
password(String). Method in class com.fooware.net.FtpClient
PASSWORD (PASS)
The argument field is a Telnet string specifying the user's password.
printWorkingDirectory(). Method in class com.fooware.net.FtpClient
PRINT WORKING DIRECTORY (PWD)
This command causes the name of the current working directory to be returned in the reply.
prompt(String). Method in class com.fooware.util.CommandLine
The message will be sent to the current output stream.

R

RECORD_STRUCTURE. Static variable in class com.fooware.net.FtpClient
REGARDING_AUTHENTICATION. Static variable in class com.fooware.net.FtpResponse
REGARDING_CONNECTION. Static variable in class com.fooware.net.FtpResponse
REGARDING_FILE_SYSTEM. Static variable in class com.fooware.net.FtpResponse
REGARDING_INFORMATION. Static variable in class com.fooware.net.FtpResponse
REGARDING_SYNTAX. Static variable in class com.fooware.net.FtpResponse
REGARDING_UNSPECIFIED. Static variable in class com.fooware.net.FtpResponse
reinitialize(). Method in class com.fooware.net.FtpClient
REINITIALIZE (REIN)
This command terminates a USER, flushing all I/O and account information, except to allow any transfer in progress to be completed.
removeDirectory(String). Method in class com.fooware.net.FtpClient
REMOVE DIRECTORY (RMD)
This command causes the directory specified in the pathname to be removed as a directory (if the pathname is absolute) or as a subdirectory of the current working directory (if the pathname is relative).
renameFrom(String). Method in class com.fooware.net.FtpClient
RENAME FROM (RNFR)
This command specifies the old pathname of the file which is to be renamed.
renameTo(String). Method in class com.fooware.net.FtpClient
RENAME TO (RNTO)
This command specifies the new pathname of the file specified in the immediately preceding "rename from" command.
REPLY_PERMANENT_NEGATIVE_COMPLETION. Static variable in class com.fooware.net.FtpResponse
REPLY_POSITIVE_COMPLETION. Static variable in class com.fooware.net.FtpResponse
REPLY_POSITIVE_INTERMEDIARY. Static variable in class com.fooware.net.FtpResponse
REPLY_POSITIVE_PRELIMINARY. Static variable in class com.fooware.net.FtpResponse
REPLY_TRANSIENT_NEGATIVE_COMPLETION. Static variable in class com.fooware.net.FtpResponse
representationType(char). Method in class com.fooware.net.FtpClient
representationType(char, char). Method in class com.fooware.net.FtpClient
REPRESENTATION TYPE (TYPE)
The argument specifies the representation type as described in the Section on Data Representation and Storage.
representationType(int). Method in class com.fooware.net.FtpClient
Special case of specifying the local byte size.
restart(String). Method in class com.fooware.net.FtpClient
RESTART (REST)
The argument field represents the server marker at which file transfer is to be restarted.
retrieve(String). Method in class com.fooware.net.FtpClient
RETRIEVE (RETR)
This command causes the server-DTP to transfer a copy of the file, specified in the pathname, to the server- or user-DTP at the other end of the data connection.

S

setInputStream(InputStream). Method in class com.fooware.util.CommandLine
Set the input stream.
setOutputStream(OutputStream). Method in class com.fooware.util.CommandLine
Set the output stream.
setPromptString(String). Method in class com.fooware.util.CommandLine
Set the prompt to be displayed at the command line.
setResponse(). Method in class com.fooware.net.FtpClient
Set the current response.
siteParameters(String). Method in class com.fooware.net.FtpClient
SITE PARAMETERS (SITE)
This command is used by the server to provide services specific to his system that are essential to file transfer but not sufficiently universal to be included as commands in the protocol.
start(). Method in class com.fooware.util.CommandLine
status(). Method in class com.fooware.net.FtpClient
status(String). Method in class com.fooware.net.FtpClient
STATUS (STAT)
This command shall cause a status response to be sent over the control connection in the form of a reply.
store(String). Method in class com.fooware.net.FtpClient
STORE (STOR)
This command causes the server-DTP to accept the data transferred via the data connection and to store the data as a file at the server site.
storeUnique(). Method in class com.fooware.net.FtpClient
STORE UNIQUE (STOU)
This command behaves like STOR except that the resultant file is to be created in the current directory under a name unique to that directory.
STREAM_MODE. Static variable in class com.fooware.net.FtpClient
structure(char). Method in class com.fooware.net.FtpClient
FILE STRUCTURE (STRU)
The argument is a single Telnet character code specifying file structure described in the Section on Data Representation and Storage.
structureMount(String). Method in class com.fooware.net.FtpClient
STRUCTURE MOUNT (SMNT) This command allows the user to mount a different file system data structure without altering his login or accounting information.
system(). Method in class com.fooware.net.FtpClient
SYSTEM (SYST)
This command is used to find out the type of operating system at the server.

T

TELNET_EFFECTORS_FORMAT. Static variable in class com.fooware.net.FtpClient
toString(). Method in class com.fooware.net.FtpResponse
Return a String representation of this object.
transferMode(char). Method in class com.fooware.net.FtpClient
TRANSFER MODE (MODE)
The argument is a single Telnet character code specifying the data transfer modes described in the Section on Transmission Modes.

U

userName(String). Method in class com.fooware.net.FtpClient
USER NAME (USER)
The argument field is a Telnet string identifying the user.