A C D F G I L M O P R S T U W
A
- ACTIVE_MODE -
Static variable in class com.radinks.net.FTPConnection
-
C
- CRLF -
Static variable in class com.radinks.net.FTPConnection
-
- cdhome() -
Method in class com.radinks.net.FTPConnection
- Set current working directory to the path defined in the
url.
- check_reply(String) -
Method in class com.radinks.net.FTPConnection
- Returns true if the server returns the expected code.
- chmod(int, String) -
Method in class com.radinks.net.FTPConnection
- Chmod is implemened via the site command.
- com.radinks.ftp - package com.radinks.ftp
-
- com.radinks.net - package com.radinks.net
-
- connectMode -
Variable in class com.radinks.net.FTPConnection
- flag - defines whether to connect in active or passive modes.
- contentLength -
Variable in class com.radinks.net.FTPConnection
-
- cwd(String) -
Method in class com.radinks.net.FTPConnection
- Change Working Directory
D
- doubleDot() -
Static method in class com.radinks.net.RemoteFile
- Create an entry for the parent folder.
F
- FTPConnection - class com.radinks.ftp.FTPConnection.
- Implements an RFC 959 ftp class.
- FTPConnection() -
Constructor for class com.radinks.ftp.FTPConnection
-
- FTPConnection - class com.radinks.net.FTPConnection.
-
- FTPConnection() -
Constructor for class com.radinks.net.FTPConnection
-
- FTPConnection(String) -
Constructor for class com.radinks.net.FTPConnection
- Open a connection to the given FTP URL.
- FTPConnection.DataConnection - class com.radinks.net.FTPConnection.DataConnection.
-
Inner class that acts as an abstraction layer for
Socket
and ServerSocket. - FTPConnection.DataConnection() -
Constructor for class com.radinks.net.FTPConnection.DataConnection
-
- FileAttrs - class com.radinks.net.FileAttrs.
- Manages Attributes of files on the server.
- FileAttrs() -
Constructor for class com.radinks.net.FileAttrs
- default constructor.
G
- get(String) -
Method in class com.radinks.ftp.FTPConnection
- Returns an inputstream to the file on the remote server.
- getAttrs() -
Method in class com.radinks.net.RemoteFile
-
- getFilename() -
Method in class com.radinks.net.RemoteFile
-
- getFlags() -
Method in class com.radinks.net.FileAttrs
- Not yet fully implemented.
- getGId() -
Method in class com.radinks.net.FileAttrs
-
- getIn() -
Method in class com.radinks.net.FTPConnection
-
- getInode() -
Method in class com.radinks.net.FileAttrs
-
- getInputStream() -
Method in class com.radinks.net.FTPConnection.DataConnection
- Follows the adapter pattern, returns the input stream of the
server socket or client socket.
- getLastMessage() -
Method in class com.radinks.net.FTPConnection
- Returns the last response from the server.
- getLocation() -
Method in class com.radinks.net.FTPConnection
-
- getLogWriter() -
Method in class com.radinks.net.FTPConnection
-
- getMTime() -
Method in class com.radinks.net.FileAttrs
-
- getMtimeString() -
Method in class com.radinks.net.FileAttrs
-
- getOut() -
Method in class com.radinks.net.FTPConnection
-
- getOutputStream() -
Method in class com.radinks.net.FTPConnection.DataConnection
- returns the output stream of the client or server socket depending
on whether the active or passive mode is in effect.
- getSize() -
Method in class com.radinks.net.FileAttrs
-
- getUId() -
Method in class com.radinks.net.FileAttrs
-
- getWriter() -
Method in class com.radinks.net.FTPConnection
- Returns the writer associated with the control socket.
I
- in -
Variable in class com.radinks.net.FTPConnection
-
- initStream() -
Method in class com.radinks.ftp.FTPConnection
- Overrides the
initStream()
initStream() method in FTPConnection.
- initStream() -
Method in class com.radinks.net.FTPConnection
- The server usually sends a 220 reply when your first
connect to it.
- isDir() -
Method in class com.radinks.net.FileAttrs
-
- isOk() -
Method in class com.radinks.net.FTPConnection
- Error messages are typically 500 status codes.
- isRedmond() -
Static method in class com.radinks.net.RemoteFile
-
L
- lastMessage -
Variable in class com.radinks.net.FTPConnection
-
- list() -
Method in class com.radinks.ftp.FTPConnection
- List the contents of the current working directory.
- list(String) -
Method in class com.radinks.ftp.FTPConnection
- Opens a data connection and retrieves the directory listing.
- location -
Variable in class com.radinks.net.FTPConnection
- The FTP server that we are connecting to, the username and password that
is being used for authentication and the starting location on the folder
tree are all defined by this URL.
- log(String) -
Method in class com.radinks.net.FTPConnection
- logs the communitcation.
- login() -
Method in class com.radinks.net.FTPConnection
- Login, if the
location includes a username and password use them,
else login annonymousy.
- login(String, String) -
Method in class com.radinks.net.FTPConnection
- Logs into the system with the given username and password.
M
- MSRemoteFile - class com.radinks.net.MSRemoteFile.
-
- MSRemoteFile(String) -
Constructor for class com.radinks.net.MSRemoteFile
- Creates the new instance based by parsing the data provided in the
input string.
- makeDataConnection() -
Method in class com.radinks.net.FTPConnection
- open a new active or passive data connection.
- mkdir(String) -
Method in class com.radinks.net.FTPConnection
- Create a new directory on the server, will not attempt to determine if
the directory already exists.
O
- openConnection(String, int) -
Method in class com.radinks.ftp.FTPConnection
- Open the connection.
- openConnection() -
Method in class com.radinks.net.FTPConnection
- Open the connection to the previously defined URL given in
FTPConnection.location.
- out -
Variable in class com.radinks.net.FTPConnection
-
P
- PASV_MODE -
Static variable in class com.radinks.net.FTPConnection
-
- parse(String) -
Static method in class com.radinks.net.RemoteFile
- A factory method that creates a remote file instanace for the current
server type.
- parseFlags(String) -
Method in class com.radinks.net.FileAttrs
- Parses the flags for each file
- pass(String) -
Method in class com.radinks.net.FTPConnection
- sends the password as part of the user authentication procedure and reads
the welcome message if one is available.
- pasv() -
Method in class com.radinks.net.FTPConnection
- Open a passive mode data connection.
- port() -
Method in class com.radinks.net.FTPConnection
- Open a data connection in active mode.
- put(String) -
Method in class com.radinks.ftp.FTPConnection
- Creates an OutputStream to the file on the remote server.
- pwd() -
Method in class com.radinks.ftp.FTPConnection
- Retrieves the path to the current working directory by executing
the PWD command.
R
- RemoteFile - class com.radinks.net.RemoteFile.
- Represents a file on the remote server, two subclasses provide functionality
specific to files on windows and unix like operating systems.
- RemoteFile() -
Constructor for class com.radinks.net.RemoteFile
-
- RemoteFile(String) -
Constructor for class com.radinks.net.RemoteFile
-
- rm(String) -
Method in class com.radinks.ftp.FTPConnection
- Deletes specified path.
- rmd(String) -
Method in class com.radinks.ftp.FTPConnection
- Deletes specified directory.
- rnfr(String) -
Method in class com.radinks.ftp.FTPConnection
- First step in the rename operation.
- rnto(String) -
Method in class com.radinks.ftp.FTPConnection
- the second part of the rename operation.
S
- setAttrs(FileAttrs) -
Method in class com.radinks.net.RemoteFile
-
- setDir(boolean) -
Method in class com.radinks.net.FileAttrs
-
- setFileName(String) -
Method in class com.radinks.net.RemoteFile
-
- setGId(int) -
Method in class com.radinks.net.FileAttrs
-
- setInode(int) -
Method in class com.radinks.net.FileAttrs
-
- setLocation(URL) -
Method in class com.radinks.net.FTPConnection
-
- setLogWriter(PrintStream) -
Method in class com.radinks.net.FTPConnection
- Where to log.
- setServerType(String) -
Static method in class com.radinks.net.RemoteFile
- Are we running on windows or linux?
- setSize(long) -
Method in class com.radinks.net.FileAttrs
-
- setTime(long) -
Method in class com.radinks.net.FileAttrs
-
- setUId(int) -
Method in class com.radinks.net.FileAttrs
-
- sock_control -
Variable in class com.radinks.net.FTPConnection
-
- sock_data -
Variable in class com.radinks.net.FTPConnection
-
- switchMode() -
Method in class com.radinks.net.FTPConnection
- Swtich between Active and Passive modes.
T
- testConnection() -
Method in class com.radinks.net.FTPConnection
- Are you there?
- timeout -
Variable in class com.radinks.net.FTPConnection
- socket timeout
- type(String) -
Method in class com.radinks.ftp.FTPConnection
- Switch between ascii and binary modes.
U
- UnixRemoteFile - class com.radinks.net.UnixRemoteFile.
-
- UnixRemoteFile(String) -
Constructor for class com.radinks.net.UnixRemoteFile
- Creates a new instance by parsing the data given.
- user(String) -
Method in class com.radinks.net.FTPConnection
- sends the USER command to the server, you can call this method
directory if you want more control than given by the
login() method.
W
- welcome -
Variable in class com.radinks.net.FTPConnection
-
- writeln(String) -
Method in class com.radinks.net.FTPConnection
- Centralize all the write operations for ease of maintenance.
- writer -
Variable in class com.radinks.net.FTPConnection
-
A C D F G I L M O P R S T U W
Rad Inks FTP library
Copyright (c) 2003,2004 Rad Inks (Pvt) Ltd.