|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.enterprisedt.net.ftp.FTPClient
Supports client-side FTP. Most common FTP operations are present in this class.
Field Summary | |
protected FTPControlSocket |
control
Socket responsible for controlling the connection |
static java.lang.String |
cvsId
Revision control id |
protected FTPDataSocket |
data
Socket responsible for transferring the data |
static java.lang.String |
DEFAULT_ENCODING
Default encoding used for control data |
protected FTPReply |
lastValidReply
Holds the last valid reply from the server on the control socket |
protected FTPMessageListener |
messageListener
Message listener |
Constructor Summary | |
FTPClient()
Default constructor should now always be used together with setter methods in preference to other constructors (now deprecated). |
|
FTPClient(java.net.InetAddress remoteAddr)
Deprecated. use setter methods to set properties |
|
FTPClient(java.net.InetAddress remoteAddr,
int controlPort)
Deprecated. use setter methods to set properties |
|
FTPClient(java.net.InetAddress remoteAddr,
int controlPort,
int timeout)
Deprecated. use setter methods to set properties |
|
FTPClient(java.net.InetAddress remoteAddr,
int controlPort,
int timeout,
java.lang.String encoding)
Deprecated. use setter methods to set properties |
|
FTPClient(java.lang.String remoteHost)
Deprecated. use setter methods to set properties |
|
FTPClient(java.lang.String remoteHost,
int controlPort)
Deprecated. use setter methods to set properties |
|
FTPClient(java.lang.String remoteHost,
int controlPort,
int timeout)
Deprecated. use setter methods to set properties |
|
FTPClient(java.lang.String remoteHost,
int controlPort,
int timeout,
java.lang.String encoding)
Deprecated. use setter methods to set properties |
Method Summary | |
protected void |
abort()
Abort the current action |
void |
account(java.lang.String accountInfo)
Supply account information string to the server. |
void |
cancelResume()
Cancel the resume. |
void |
cancelTransfer()
Cancels the current transfer. |
void |
cdup()
Change the remote working directory to the parent directory |
void |
chdir(java.lang.String dir)
Change the remote working directory to that supplied |
protected void |
checkConnection(boolean shouldBeConnected)
Checks if the client has connected to the server and throws an exception if it hasn't. |
static void |
clearSOCKS()
Clear SOCKS settings. |
void |
connect()
Connects to the server at the address and port number defined in the constructor. |
boolean |
connected()
Is this client connected? |
void |
debugResponses(boolean on)
Deprecated. use the Logger class to switch debugging on and off |
void |
delete(java.lang.String remoteFile)
Delete the specified remote file |
java.lang.String[] |
dir()
List current directory's contents as an array of strings of filenames. |
java.lang.String[] |
dir(java.lang.String dirname)
List a directory's contents as an array of strings of filenames. |
java.lang.String[] |
dir(java.lang.String dirname,
boolean full)
List a directory's contents as an array of strings. |
FTPFile[] |
dirDetails(java.lang.String dirname)
List a directory's contents as an array of FTPFile objects. |
java.lang.String[] |
features()
Get the server supplied features |
void |
get(java.io.OutputStream destStream,
java.lang.String remoteFile)
Get data from the FTP server. |
byte[] |
get(java.lang.String remoteFile)
Get data from the FTP server. |
void |
get(java.lang.String localPath,
java.lang.String remoteFile)
Get data from the FTP server. |
static java.lang.String |
getBuildTimestamp()
Get the build timestamp |
FTPConnectMode |
getConnectMode()
|
java.lang.String |
getControlEncoding()
Get the encoding used for the control connection |
int |
getControlPort()
Deprecated. Use FTPClientInterface.getRemotePort() instead. |
FTPReply |
getLastValidReply()
Gets the latest valid reply from the server |
FTPMessageListener |
getMessageListener()
|
long |
getMonitorInterval()
Get the bytes transferred between each callback on the progress monitor |
java.net.InetAddress |
getRemoteAddr()
|
java.lang.String |
getRemoteHost()
Returns the IP address or name of the remote host. |
int |
getRemotePort()
Returns the control-port being connected to on the remote server. |
int |
getTimeout()
Get the TCP timeout |
int |
getTransferBufferSize()
Get the size of the buffers used in writing to and reading from the data sockets |
FTPTransferType |
getType()
Get the current transfer type |
static int[] |
getVersion()
Get the version of edtFTPj |
java.lang.String |
help(java.lang.String command)
Get the help text for the specified command |
protected void |
initialize(FTPControlSocket control)
Set the control socket explicitly |
static void |
initSOCKS(java.lang.String port,
java.lang.String host)
Set up SOCKS v4/v5 proxy settings. |
static void |
initSOCKSAuthentication(java.lang.String username,
java.lang.String password)
Set up SOCKS username and password for SOCKS username/password authentication. |
boolean |
isAutoPassiveIPSubstitution()
Is automatic substitution of the remote host IP set to be on for passive mode connections? |
boolean |
isStrictReturnCodes()
Determine if strict checking of return codes is switched on. |
java.lang.String |
list(java.lang.String dirname)
Deprecated. As of FTP 1.1, replaced by dir(String) |
java.lang.String |
list(java.lang.String dirname,
boolean full)
Deprecated. As of FTP 1.1, replaced by dir(String,boolean) |
void |
login(java.lang.String user,
java.lang.String password)
Login into an account on the FTP server. |
void |
login(java.lang.String user,
java.lang.String password,
java.lang.String accountInfo)
Login into an account on the FTP server. |
void |
mkdir(java.lang.String dir)
Create the specified remote working directory |
java.util.Date |
modtime(java.lang.String remoteFile)
Get modification time for a remote file |
void |
noOperation()
Send a "no operation" message that does nothing. |
void |
password(java.lang.String password)
Supplies the password for a previously supplied username to log into the FTP server. |
void |
put(byte[] bytes,
java.lang.String remoteFile)
Put data onto the FTP server. |
void |
put(byte[] bytes,
java.lang.String remoteFile,
boolean append)
Put data onto the FTP server. |
void |
put(java.io.InputStream srcStream,
java.lang.String remoteFile)
Put a stream of data onto the FTP server. |
void |
put(java.io.InputStream srcStream,
java.lang.String remoteFile,
boolean append)
Put a stream of data onto the FTP server. |
void |
put(java.lang.String localPath,
java.lang.String remoteFile)
Put a local file onto the FTP server. |
void |
put(java.lang.String localPath,
java.lang.String remoteFile,
boolean append)
Put a local file onto the FTP server. |
java.lang.String |
pwd()
Get the current remote working directory |
void |
quit()
Quit the FTP session |
java.lang.String |
quote(java.lang.String command,
java.lang.String[] validCodes)
Issue arbitrary ftp commands to the FTP server. |
protected int |
readChar(java.io.LineNumberReader in)
Attempts to read a single character from the given InputStream . |
protected int |
readChunk(java.io.BufferedInputStream in,
byte[] chunk,
int chunksize)
Attempts to read a specified number of bytes from the given InputStream and place it in the given byte-array. |
protected java.lang.String |
readLine(java.io.LineNumberReader in)
Attempts to read a single line from the given InputStream . |
void |
rename(java.lang.String from,
java.lang.String to)
Rename a file or directory |
void |
restart(long size)
Issue the RESTart command to the remote server. |
void |
resume()
Make the next file transfer (put or get) resume. |
void |
rmdir(java.lang.String dir)
Delete the specified remote working directory |
void |
setActiveIPAddress(java.lang.String IPAddress)
We can force PORT to send a fixed IP address, which can be useful with certain NAT configurations. |
void |
setActivePortRange(int lowest,
int highest)
We can force PORT to send a fixed IP address, which can be useful with certain NAT configurations. |
void |
setAutoPassiveIPSubstitution(boolean autoPassiveIPSubstitution)
Set automatic substitution of the remote host IP on if in passive mode |
void |
setConnectMode(FTPConnectMode mode)
Set the connect mode |
void |
setControlEncoding(java.lang.String controlEncoding)
Set the control socket's encoding. |
void |
setControlPort(int controlPort)
Deprecated. Use FTPClientInterface.setRemotePort(int) instead. |
void |
setFTPFileFactory(FTPFileFactory fileFactory)
Override the chosen file factory with a user created one - meaning that a specific parser has been selected |
void |
setMessageListener(FTPMessageListener listener)
Set a listener that handles all FTP messages |
void |
setParserLocale(java.util.Locale locale)
Set the locale for date parsing of dir listings |
void |
setPORTIP(java.lang.String IPAddress)
Deprecated. |
void |
setProgressMonitor(FTPProgressMonitor monitor)
Set a progress monitor for callbacks. |
void |
setProgressMonitor(FTPProgressMonitor monitor,
long interval)
Set a progress monitor for callbacks. |
void |
setRemoteAddr(java.net.InetAddress remoteAddr)
Set the remote address |
void |
setRemoteHost(java.lang.String remoteHost)
Set the IP address or name of the remote host This may only be done if the client is not already connected to the server. |
void |
setRemotePort(int remotePort)
Set the control to connect to on the remote server. |
void |
setStrictReturnCodes(boolean strict)
Set strict checking of FTP return codes. |
void |
setTimeout(int millis)
Set the TCP timeout on the underlying socket. |
void |
setTransferBufferSize(int size)
Set the size of the buffers used in writing to and reading from the data sockets |
void |
setType(FTPTransferType type)
Set the transfer type |
boolean |
site(java.lang.String command)
Run a site-specific command on the server. |
long |
size(java.lang.String remoteFile)
Get the size of a remote file. |
java.lang.String |
system()
Get the type of the OS at the server |
void |
user(java.lang.String user)
Supply the user name to log into an account on the FTP server. |
void |
validateTransfer()
Validate that the put() or get() was successful. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String cvsId
public static final java.lang.String DEFAULT_ENCODING
protected FTPControlSocket control
protected FTPDataSocket data
protected FTPMessageListener messageListener
protected FTPReply lastValidReply
Constructor Detail |
public FTPClient(java.lang.String remoteHost) throws java.io.IOException, FTPException
remoteHost
- the remote hostnamepublic FTPClient(java.lang.String remoteHost, int controlPort) throws java.io.IOException, FTPException
remoteHost
- the remote hostnamecontrolPort
- port for control stream (-1 for default port)public FTPClient(java.lang.String remoteHost, int controlPort, int timeout) throws java.io.IOException, FTPException
remoteHost
- the remote hostnamecontrolPort
- port for control stream (use -1 for the default port)timeout
- the length of the timeout, in milliseconds
(pass in 0 for no timeout)public FTPClient(java.lang.String remoteHost, int controlPort, int timeout, java.lang.String encoding) throws java.io.IOException, FTPException
remoteHost
- the remote hostnamecontrolPort
- port for control stream (use -1 for the default port)timeout
- the length of the timeout, in milliseconds
(pass in 0 for no timeout)encoding
- character encoding used for datapublic FTPClient(java.net.InetAddress remoteAddr) throws java.io.IOException, FTPException
remoteAddr
- the address of the
remote hostpublic FTPClient(java.net.InetAddress remoteAddr, int controlPort) throws java.io.IOException, FTPException
remoteAddr
- the address of the
remote hostcontrolPort
- port for control streampublic FTPClient(java.net.InetAddress remoteAddr, int controlPort, int timeout) throws java.io.IOException, FTPException
remoteAddr
- the address of the
remote hostcontrolPort
- port for control stream (-1 for default port)timeout
- the length of the timeout, in milliseconds
(pass in 0 for no timeout)public FTPClient(java.net.InetAddress remoteAddr, int controlPort, int timeout, java.lang.String encoding) throws java.io.IOException, FTPException
remoteAddr
- the address of the
remote hostcontrolPort
- port for control stream (-1 for default port)timeout
- the length of the timeout, in milliseconds
(pass in 0 for no timeout)encoding
- character encoding used for datapublic FTPClient()
connect()
method is used to perform the actual connection to the remote host - but only
for this constructor. Deprecated constructors connect in the constructor and
connect() is not required (and cannot be called).
Method Detail |
public static int[] getVersion()
public static java.lang.String getBuildTimestamp()
public void connect() throws java.io.IOException, FTPException
connect
in interface FTPClientInterface
java.io.IOException
- Thrown if there is a TCP/IP-related error.
FTPException
- Thrown if there is an error related to the FTP protocol.public boolean connected()
protected void checkConnection(boolean shouldBeConnected) throws FTPException
FTPException
- Thrown if the client has not connected to the server.protected void initialize(FTPControlSocket control) throws java.io.IOException
control
- control socket reference
java.io.IOException
public void debugResponses(boolean on)
on
- true if you wish to have responses to
the log stream, false otherwisepublic void setStrictReturnCodes(boolean strict)
strict
- true for strict checking, false for loose checkingpublic boolean isStrictReturnCodes()
public void setTimeout(int millis) throws java.io.IOException
setTimeout
in interface FTPClientInterface
millis
- The length of the timeout, in milliseconds
java.io.IOException
public int getTimeout()
getTimeout
in interface FTPClientInterface
public int getRemotePort()
getControlPort()
.
getRemotePort
in interface FTPClientInterface
public void setRemotePort(int remotePort) throws FTPException
setControlPort(int)
.
setRemotePort
in interface FTPClientInterface
remotePort
- The port to use.
FTPException
- Thrown if the client is already connected to the server.public int getControlPort()
FTPClientInterface.getRemotePort()
instead.
public void setControlPort(int controlPort) throws FTPException
FTPClientInterface.setRemotePort(int)
instead.
controlPort
- The port to use.
FTPException
- Thrown if the client is already connected to the server.public java.net.InetAddress getRemoteAddr()
public void setRemoteAddr(java.net.InetAddress remoteAddr) throws FTPException
remoteAddr
- The remoteAddr to set.
FTPException
public java.lang.String getRemoteHost()
FTPClientInterface
getRemoteHost
in interface FTPClientInterface
public void setRemoteHost(java.lang.String remoteHost) throws java.io.IOException, FTPException
FTPClientInterface
setRemoteHost
in interface FTPClientInterface
remoteHost
- The IP address or name of the remote host
FTPException
- Thrown if the client is already connected to the server.
java.io.IOException
public boolean isAutoPassiveIPSubstitution()
public void setAutoPassiveIPSubstitution(boolean autoPassiveIPSubstitution)
autoPassiveIPSubstitution
- true if set to on, false otherwisepublic java.lang.String getControlEncoding()
public void setControlEncoding(java.lang.String controlEncoding) throws FTPException
controlEncoding
- The controlEncoding to set.
FTPException
public FTPMessageListener getMessageListener()
public void setMessageListener(FTPMessageListener listener)
listener
- message listenerpublic void setConnectMode(FTPConnectMode mode)
mode
- ACTIVE or PASV modepublic FTPConnectMode getConnectMode()
public void setProgressMonitor(FTPProgressMonitor monitor, long interval)
FTPClientInterface
setProgressMonitor
in interface FTPClientInterface
monitor
- the monitor objectinterval
- bytes transferred in between callbackspublic void setProgressMonitor(FTPProgressMonitor monitor)
FTPClientInterface
setProgressMonitor
in interface FTPClientInterface
monitor
- the monitor objectpublic long getMonitorInterval()
FTPClientInterface
getMonitorInterval
in interface FTPClientInterface
public void setTransferBufferSize(int size)
size
- new size of buffer in bytespublic int getTransferBufferSize()
public void cancelTransfer()
public void setPORTIP(java.lang.String IPAddress) throws FTPException
IPAddress
- IP address to force, in 192.168.1.0 form
FTPException
public void setActiveIPAddress(java.lang.String IPAddress) throws FTPException
IPAddress
- IP address to force, in 192.168.1.0 form
FTPException
public void setActivePortRange(int lowest, int highest) throws FTPException
lowest
- Lower limit of range.highest
- Upper limit of range.
FTPException
public void login(java.lang.String user, java.lang.String password) throws java.io.IOException, FTPException
user
- user namepassword
- user's password
java.io.IOException
FTPException
public void login(java.lang.String user, java.lang.String password, java.lang.String accountInfo) throws java.io.IOException, FTPException
user
- user namepassword
- user's passwordaccountInfo
- account info string
java.io.IOException
FTPException
public void user(java.lang.String user) throws java.io.IOException, FTPException
user
- user name
java.io.IOException
FTPException
public void password(java.lang.String password) throws java.io.IOException, FTPException
password
- The password.
java.io.IOException
FTPException
public void account(java.lang.String accountInfo) throws java.io.IOException, FTPException
accountInfo
- account information string
java.io.IOException
FTPException
public static void initSOCKS(java.lang.String port, java.lang.String host)
port
- SOCKS proxy porthost
- SOCKS proxy hostnamepublic static void initSOCKSAuthentication(java.lang.String username, java.lang.String password)
username
- the SOCKS usernamepassword
- the SOCKS passwordpublic static void clearSOCKS()
public java.lang.String quote(java.lang.String command, java.lang.String[] validCodes) throws java.io.IOException, FTPException
command
- ftp command to be sent to servervalidCodes
- valid return codes for this command. If null
is supplied no validation is performed
java.io.IOException
FTPException
public long size(java.lang.String remoteFile) throws java.io.IOException, FTPException
FTPClientInterface
size
in interface FTPClientInterface
remoteFile
- name or path of remote file in current directory
java.io.IOException
FTPException
public void resume() throws FTPException
FTPException
public void cancelResume() throws java.io.IOException, FTPException
java.io.IOException
FTPException
public void restart(long size) throws java.io.IOException, FTPException
size
- the REST param, the mark at which the restart is
performed on the remote file. For STOR, this is retrieved
by SIZE
java.io.IOException
FTPException
public void put(java.lang.String localPath, java.lang.String remoteFile) throws java.io.IOException, FTPException
FTPClientInterface
put
in interface FTPClientInterface
localPath
- path of the local fileremoteFile
- name of remote file in
current directory
java.io.IOException
FTPException
public void put(java.io.InputStream srcStream, java.lang.String remoteFile) throws java.io.IOException, FTPException
FTPClientInterface
put
in interface FTPClientInterface
srcStream
- input stream of data to putremoteFile
- name of remote file in
current directory
java.io.IOException
FTPException
public void put(java.lang.String localPath, java.lang.String remoteFile, boolean append) throws java.io.IOException, FTPException
localPath
- path of the local fileremoteFile
- name of remote file in
current directoryappend
- true if appending, false otherwise
java.io.IOException
FTPException
public void put(java.io.InputStream srcStream, java.lang.String remoteFile, boolean append) throws java.io.IOException, FTPException
srcStream
- input stream of data to putremoteFile
- name of remote file in
current directoryappend
- true if appending, false otherwise
java.io.IOException
FTPException
public void validateTransfer() throws java.io.IOException, FTPException
java.io.IOException
FTPException
public void put(byte[] bytes, java.lang.String remoteFile) throws java.io.IOException, FTPException
FTPClientInterface
put
in interface FTPClientInterface
bytes
- array of bytesremoteFile
- name of remote file in
current directory
java.io.IOException
FTPException
public void put(byte[] bytes, java.lang.String remoteFile, boolean append) throws java.io.IOException, FTPException
bytes
- array of bytesremoteFile
- name of remote file in
current directoryappend
- true if appending, false otherwise
java.io.IOException
FTPException
public void get(java.lang.String localPath, java.lang.String remoteFile) throws java.io.IOException, FTPException
FTPClientInterface
get
in interface FTPClientInterface
localPath
- local file to put data inremoteFile
- name of remote file in
current directory
java.io.IOException
FTPException
public void get(java.io.OutputStream destStream, java.lang.String remoteFile) throws java.io.IOException, FTPException
FTPClientInterface
get
in interface FTPClientInterface
destStream
- data stream to write data toremoteFile
- name of remote file in
current directory
java.io.IOException
FTPException
public byte[] get(java.lang.String remoteFile) throws java.io.IOException, FTPException
FTPClientInterface
get
in interface FTPClientInterface
remoteFile
- name of remote file in
current directory
java.io.IOException
FTPException
public boolean site(java.lang.String command) throws java.io.IOException, FTPException
command
- the site command to run
java.io.IOException
FTPException
public java.lang.String list(java.lang.String dirname) throws java.io.IOException, FTPException
dir(String)
dirname
- the name of the directory (not a file mask)
java.io.IOException
FTPException
public java.lang.String list(java.lang.String dirname, boolean full) throws java.io.IOException, FTPException
dir(String,boolean)
dirname
- the name of the directory(not a file mask)full
- true if detailed listing required
false otherwise
java.io.IOException
FTPException
public void setFTPFileFactory(FTPFileFactory fileFactory)
fileFactory
- public void setParserLocale(java.util.Locale locale)
locale
- new locale to usepublic FTPFile[] dirDetails(java.lang.String dirname) throws java.io.IOException, FTPException, java.text.ParseException
FTPClientInterface
dirDetails
in interface FTPClientInterface
dirname
- name of directory OR filemask
java.io.IOException
FTPException
java.text.ParseException
public java.lang.String[] dir() throws java.io.IOException, FTPException
FTPClientInterface
dir
in interface FTPClientInterface
java.io.IOException
FTPException
public java.lang.String[] dir(java.lang.String dirname) throws java.io.IOException, FTPException
FTPClientInterface
dir
in interface FTPClientInterface
dirname
- name of directory OR filemask
java.io.IOException
FTPException
public java.lang.String[] dir(java.lang.String dirname, boolean full) throws java.io.IOException, FTPException
FTPClientInterface
dir
in interface FTPClientInterface
dirname
- name of directory OR filemaskfull
- true if detailed listing required
false otherwise
java.io.IOException
FTPException
protected int readChunk(java.io.BufferedInputStream in, byte[] chunk, int chunksize) throws java.io.IOException
InputStream
and place it in the given byte-array.
The purpose of this method is to permit subclasses to execute
any additional code necessary when performing this operation.
in
- The InputStream
to read from.chunk
- The byte-array to place read bytes in.chunksize
- Number of bytes to read.
java.io.IOException
- Thrown if there was an error while reading.protected int readChar(java.io.LineNumberReader in) throws java.io.IOException
InputStream
.
The purpose of this method is to permit subclasses to execute
any additional code necessary when performing this operation.
in
- The LineNumberReader
to read from.
java.io.IOException
- Thrown if there was an error while reading.protected java.lang.String readLine(java.io.LineNumberReader in) throws java.io.IOException
InputStream
.
The purpose of this method is to permit subclasses to execute
any additional code necessary when performing this operation.
in
- The LineNumberReader
to read from.
java.io.IOException
- Thrown if there was an error while reading.public FTPReply getLastValidReply()
public FTPTransferType getType()
getType
in interface FTPClientInterface
public void setType(FTPTransferType type) throws java.io.IOException, FTPException
setType
in interface FTPClientInterface
type
- the transfer type to
set the server to
java.io.IOException
FTPException
public void delete(java.lang.String remoteFile) throws java.io.IOException, FTPException
FTPClientInterface
delete
in interface FTPClientInterface
remoteFile
- name of remote file to
delete
java.io.IOException
FTPException
public void rename(java.lang.String from, java.lang.String to) throws java.io.IOException, FTPException
FTPClientInterface
rename
in interface FTPClientInterface
from
- name of file or directory to renameto
- intended name
java.io.IOException
FTPException
public void rmdir(java.lang.String dir) throws java.io.IOException, FTPException
FTPClientInterface
rmdir
in interface FTPClientInterface
dir
- name of remote directory to
delete
java.io.IOException
FTPException
public void mkdir(java.lang.String dir) throws java.io.IOException, FTPException
FTPClientInterface
mkdir
in interface FTPClientInterface
dir
- name of remote directory to
create
java.io.IOException
FTPException
public void chdir(java.lang.String dir) throws java.io.IOException, FTPException
FTPClientInterface
chdir
in interface FTPClientInterface
dir
- name of remote directory to
change to
java.io.IOException
FTPException
public void cdup() throws java.io.IOException, FTPException
FTPClientInterface
cdup
in interface FTPClientInterface
java.io.IOException
FTPException
public java.util.Date modtime(java.lang.String remoteFile) throws java.io.IOException, FTPException
FTPClientInterface
modtime
in interface FTPClientInterface
remoteFile
- name of remote file
java.io.IOException
FTPException
public java.lang.String pwd() throws java.io.IOException, FTPException
FTPClientInterface
pwd
in interface FTPClientInterface
java.io.IOException
FTPException
public java.lang.String[] features() throws java.io.IOException, FTPException
java.io.IOException
FTPException
public java.lang.String system() throws java.io.IOException, FTPException
java.io.IOException
FTPException
public void noOperation() throws java.io.IOException, FTPException
java.io.IOException
FTPException
public java.lang.String help(java.lang.String command) throws java.io.IOException, FTPException
command
- name of the command to get help on
java.io.IOException
FTPException
protected void abort() throws java.io.IOException, FTPException
java.io.IOException
FTPException
public void quit() throws java.io.IOException, FTPException
FTPClientInterface
quit
in interface FTPClientInterface
java.io.IOException
FTPException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |