|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FTPException | |
com.enterprisedt.net.ftp | Contains classes for FTP client functionality. |
Uses of FTPException in com.enterprisedt.net.ftp |
Methods in com.enterprisedt.net.ftp that throw FTPException | |
void |
FTPClient.connect()
Connects to the server at the address and port number defined in the constructor. |
protected void |
FTPClient.checkConnection(boolean shouldBeConnected)
Checks if the client has connected to the server and throws an exception if it hasn't. |
void |
FTPClient.setRemotePort(int remotePort)
Set the control to connect to on the remote server. |
void |
FTPClient.setControlPort(int controlPort)
Deprecated. Use FTPClientInterface.setRemotePort(int) instead. |
void |
FTPClient.setRemoteAddr(java.net.InetAddress remoteAddr)
Set the remote address |
void |
FTPClient.setRemoteHost(java.lang.String remoteHost)
|
void |
FTPClient.setControlEncoding(java.lang.String controlEncoding)
Set the control socket's encoding. |
void |
FTPClient.setPORTIP(java.lang.String IPAddress)
Deprecated. |
void |
FTPClient.setActiveIPAddress(java.lang.String IPAddress)
We can force PORT to send a fixed IP address, which can be useful with certain NAT configurations. |
void |
FTPClient.setActivePortRange(int lowest,
int highest)
We can force PORT to send a fixed IP address, which can be useful with certain NAT configurations. |
void |
FTPClient.login(java.lang.String user,
java.lang.String password)
Login into an account on the FTP server. |
void |
FTPClient.login(java.lang.String user,
java.lang.String password,
java.lang.String accountInfo)
Login into an account on the FTP server. |
void |
FTPClient.user(java.lang.String user)
Supply the user name to log into an account on the FTP server. |
void |
FTPClient.password(java.lang.String password)
Supplies the password for a previously supplied username to log into the FTP server. |
void |
FTPClient.account(java.lang.String accountInfo)
Supply account information string to the server. |
java.lang.String |
FTPClient.quote(java.lang.String command,
java.lang.String[] validCodes)
Issue arbitrary ftp commands to the FTP server. |
long |
FTPClient.size(java.lang.String remoteFile)
|
void |
FTPClient.resume()
Make the next file transfer (put or get) resume. |
void |
FTPClient.cancelResume()
Cancel the resume. |
void |
FTPClient.restart(long size)
Issue the RESTart command to the remote server. |
void |
FTPClient.put(java.lang.String localPath,
java.lang.String remoteFile)
|
void |
FTPClient.put(java.io.InputStream srcStream,
java.lang.String remoteFile)
|
void |
FTPClient.put(java.lang.String localPath,
java.lang.String remoteFile,
boolean append)
Put a local file onto the FTP server. |
void |
FTPClient.put(java.io.InputStream srcStream,
java.lang.String remoteFile,
boolean append)
Put a stream of data onto the FTP server. |
void |
FTPClient.validateTransfer()
Validate that the put() or get() was successful. |
void |
FTPClient.put(byte[] bytes,
java.lang.String remoteFile)
|
void |
FTPClient.put(byte[] bytes,
java.lang.String remoteFile,
boolean append)
Put data onto the FTP server. |
void |
FTPClient.get(java.lang.String localPath,
java.lang.String remoteFile)
|
void |
FTPClient.get(java.io.OutputStream destStream,
java.lang.String remoteFile)
|
byte[] |
FTPClient.get(java.lang.String remoteFile)
|
boolean |
FTPClient.site(java.lang.String command)
Run a site-specific command on the server. |
java.lang.String |
FTPClient.list(java.lang.String dirname)
Deprecated. As of FTP 1.1, replaced by FTPClient.dir(String) |
java.lang.String |
FTPClient.list(java.lang.String dirname,
boolean full)
Deprecated. As of FTP 1.1, replaced by FTPClient.dir(String,boolean) |
FTPFile[] |
FTPClient.dirDetails(java.lang.String dirname)
|
java.lang.String[] |
FTPClient.dir()
|
java.lang.String[] |
FTPClient.dir(java.lang.String dirname)
|
java.lang.String[] |
FTPClient.dir(java.lang.String dirname,
boolean full)
|
void |
FTPClient.setType(FTPTransferType type)
Set the transfer type |
void |
FTPClient.delete(java.lang.String remoteFile)
|
void |
FTPClient.rename(java.lang.String from,
java.lang.String to)
|
void |
FTPClient.rmdir(java.lang.String dir)
|
void |
FTPClient.mkdir(java.lang.String dir)
|
void |
FTPClient.chdir(java.lang.String dir)
|
void |
FTPClient.cdup()
|
java.util.Date |
FTPClient.modtime(java.lang.String remoteFile)
|
java.lang.String |
FTPClient.pwd()
|
java.lang.String[] |
FTPClient.features()
Get the server supplied features |
java.lang.String |
FTPClient.system()
Get the type of the OS at the server |
void |
FTPClient.noOperation()
Send a "no operation" message that does nothing. |
java.lang.String |
FTPClient.help(java.lang.String command)
Get the help text for the specified command |
protected void |
FTPClient.abort()
Abort the current action |
void |
FTPClient.quit()
|
FTPReply |
FTPControlSocket.validateReply(java.lang.String reply,
java.lang.String[] expectedReplyCodes)
Validate the response the host has supplied against the expected reply. |
FTPReply |
FTPControlSocket.validateReply(FTPReply reply,
java.lang.String[] expectedReplyCodes)
Validate the response the host has supplied against the expected reply. |
FTPReply |
FTPControlSocket.validateReply(FTPReply reply,
java.lang.String expectedReplyCode)
Validate the response the host has supplied against the expected reply. |
void |
FTPClientInterface.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 |
FTPClientInterface.setRemotePort(int remotePort)
Set the port to connect to on the remote server. |
void |
FTPClientInterface.setTimeout(int millis)
Set the TCP timeout on the underlying socket(s). |
void |
FTPClientInterface.connect()
Connects to the server at the address and port number defined in the constructor. |
long |
FTPClientInterface.size(java.lang.String remoteFile)
Get the size of a remote file. |
void |
FTPClientInterface.setType(FTPTransferType type)
Set the transfer type |
void |
FTPClientInterface.put(java.lang.String localPath,
java.lang.String remoteFile)
Put a local file onto the FTP server. |
void |
FTPClientInterface.put(java.io.InputStream srcStream,
java.lang.String remoteFile)
Put a stream of data onto the FTP server. |
void |
FTPClientInterface.put(byte[] bytes,
java.lang.String remoteFile)
Put data onto the FTP server. |
void |
FTPClientInterface.get(java.lang.String localPath,
java.lang.String remoteFile)
Get data from the FTP server. |
void |
FTPClientInterface.get(java.io.OutputStream destStream,
java.lang.String remoteFile)
Get data from the FTP server. |
byte[] |
FTPClientInterface.get(java.lang.String remoteFile)
Get data from the FTP server. |
FTPFile[] |
FTPClientInterface.dirDetails(java.lang.String dirname)
List a directory's contents as an array of FTPFile objects. |
java.lang.String[] |
FTPClientInterface.dir()
List current directory's contents as an array of strings of filenames. |
java.lang.String[] |
FTPClientInterface.dir(java.lang.String dirname)
List a directory's contents as an array of strings of filenames. |
java.lang.String[] |
FTPClientInterface.dir(java.lang.String dirname,
boolean full)
List a directory's contents as an array of strings. |
void |
FTPClientInterface.delete(java.lang.String remoteFile)
Delete the specified remote file |
void |
FTPClientInterface.rename(java.lang.String from,
java.lang.String to)
Rename a file or directory |
void |
FTPClientInterface.rmdir(java.lang.String dir)
Delete the specified remote working directory |
void |
FTPClientInterface.mkdir(java.lang.String dir)
Create the specified remote working directory |
void |
FTPClientInterface.chdir(java.lang.String dir)
Change the remote working directory to that supplied |
void |
FTPClientInterface.cdup()
Change the remote working directory to the parent directory |
java.util.Date |
FTPClientInterface.modtime(java.lang.String remoteFile)
Get modification time for a remote file |
java.lang.String |
FTPClientInterface.pwd()
Get the current remote working directory |
void |
FTPClientInterface.quit()
Quit the FTP session |
Constructors in com.enterprisedt.net.ftp that throw FTPException | |
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 |
|
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 |
|
FTPFileFactory(java.lang.String system)
Constructor |
|
FTPControlSocket(java.net.InetAddress remoteAddr,
java.net.Socket controlSock,
int timeout,
java.lang.String encoding,
FTPMessageListener messageListener)
Constructs a new FTPControlSocket using the given
Socket object. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |