Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
com.enterprisedt.net.ftp.FTPException

Packages that use FTPException
com.enterprisedt.net.ftp | `FileTransferClient` is the key class for edtFTPj/Free and provides basic FTP features; `SecureFileTransferClient` (edtFTPj/PRO only) adds support for secure file transfer via the SFTP and FTPS protocols, as well as advanced FTP features.

Uses of FTPException in com.enterprisedt.net.ftp

Subclasses of FTPException in com.enterprisedt.net.ftp
`class` | `FTPTransferCancelledException` Thrown when an FTP transfer has been cancelled

Methods in com.enterprisedt.net.ftp that throw FTPException
`protected void` | `FTPClient.abort()` Abort the current action
`void` | `FTPClient.account(java.lang.String accountInfo)` Supply account information string to the server.
`void` | `FTPClientInterface.cancelResume()` Cancel the resume.
`void` | `FTPClient.cancelResume()`
`void` | `FTPClientInterface.cdup()` Change the remote working directory to the parent directory
`void` | `FTPClient.cdup()`
`void` | `FileTransferClient.changeDirectory(java.lang.String directoryName)` Change directory on the FTP server.
`void` | `FileTransferClient.changeToParentDirectory()` Change to parent directory on the FTP server.
`void` | `FTPClientInterface.chdir(java.lang.String dir)` Change the remote working directory to that supplied
`void` | `FTPClient.chdir(java.lang.String dir)`
`protected void` | `FTPClient.checkConnection(boolean shouldBeConnected)` Checks if the client has connected to the server and throws an exception if it hasn't.
`protected void` | `FileTransferClient.checkConnection(boolean shouldBeConnected)` Checks if the client has connected to the server and throws an exception if it hasn't.
`protected void` | `FileTransferClient.checkListingSettings()`
`protected void` | `FileTransferClient.checkTransferSettings()`
`protected void` | `FTPClient.chooseTransferMode(java.lang.String filename)` Switch the transfer mode if requested and if necessary
`protected void` | `FileTransferClient.configureClient()` Apply the master context's settings to the client
`protected void` | `FileTransferClient.configureTransferType(FTPTransferType type)`
`void` | `FTPClientInterface.connect()` Connects to the server at the address and port number defined in the constructor.
`void` | `FTPClient.connect()` Connects to the server at the address and port number defined in the constructor.
`void` | `FileTransferClient.connect()` Make a connection to the FTP server.
`protected FTPDataSocket` | `FTPControlSocket.createDataSocketPASV()` Request a data socket be created on the server, connect to it and return our connected socket.
`void` | `FileTransferClient.createDirectory(java.lang.String directoryName)` Create directory on the FTP server.
`void` | `FTPClientInterface.delete(java.lang.String remoteFile)` Delete the specified remote file
`void` | `FTPClient.delete(java.lang.String remoteFile)`
`void` | `FileTransferClient.deleteDirectory(java.lang.String directoryName)` Create directory on the FTP server.
`void` | `FileTransferClient.deleteFile(java.lang.String remoteFileName)` Deletes a remote file.
`java.lang.String[]` | `FTPClientInterface.dir()` List current directory's contents as an array of strings of filenames.
`java.lang.String[]` | `FTPClient.dir()`
`java.lang.String[]` | `FTPClientInterface.dir(java.lang.String dirname)` List a directory's contents as an array of strings of filenames.
`java.lang.String[]` | `FTPClient.dir(java.lang.String dirname)`
`java.lang.String[]` | `FTPClientInterface.dir(java.lang.String dirname, boolean full)` List a directory's contents as an array of strings.
`java.lang.String[]` | `FTPClient.dir(java.lang.String dirname, boolean full)`
`FTPFile[]` | `FTPClientInterface.dirDetails(java.lang.String dirname)` List a directory's contents as an array of FTPFile objects.
`FTPFile[]` | `FTPClient.dirDetails(java.lang.String dirname)`
`FTPFile[]` | `FileTransferClient.directoryList()` List the current directory on the FTP server.
`FTPFile[]` | `FileTransferClient.directoryList(java.lang.String directoryName)` List a directory on the FTP server.
`java.lang.String[]` | `FileTransferClient.directoryNameList()` List the names of files and directories in the current directory on the FTP server.
`java.lang.String[]` | `FileTransferClient.directoryNameList(java.lang.String directoryName, boolean isLongListing)` List the names of files and directories of a directory on the FTP server.
`void` | `FileTransferClient.disconnect()` Disconnect from the FTP server.
`void` | `FileTransferClient.disconnect(boolean immediate)` Disconnect from the FTP server.
`byte[]` | `FileTransferClient.downloadByteArray(java.lang.String remoteFileName)` Download a file from the FTP server into a byte array.
`void` | `FileTransferClient.downloadFile(java.lang.String localFileName, java.lang.String remoteFileName)` Download a file from the FTP server .
`void` | `FileTransferClient.downloadFile(java.lang.String localFileName, java.lang.String remoteFileName, WriteMode writeMode)` Download a file from the FTP server .
`FileTransferInputStream` | `FileTransferClient.downloadStream(java.lang.String remoteFileName)` Download a file from the FTP server as a stream.
`java.lang.String` | `FileTransferClient.executeCommand(java.lang.String command)` Request that the remote server execute the literal command supplied.
`boolean` | `FTPClientInterface.exists(java.lang.String remoteFile)` Does the named file exist in the current server directory?
`boolean` | `FTPClient.exists(java.lang.String remoteFile)`
`boolean` | `FileTransferClient.exists(java.lang.String remoteFileName)` Determine if a remote file exists.
`java.lang.String[]` | `FTPClient.features()` Get the server supplied features
`FTPFile` | `FTPClient.fileDetails(java.lang.String name)` Uses the MLST command to find out details about the named file.
`void` | `FTPClientInterface.get(java.io.OutputStream destStream, java.lang.String remoteFile)` Get data from the FTP server.
`void` | `FTPClient.get(java.io.OutputStream destStream, java.lang.String remoteFile)`
`byte[]` | `FTPClientInterface.get(java.lang.String remoteFile)` Get data from the FTP server.
`byte[]` | `FTPClient.get(java.lang.String remoteFile)`
`void` | `FTPClientInterface.get(java.lang.String localPath, java.lang.String remoteFile)` Get data from the FTP server.
`void` | `FTPClient.get(java.lang.String localPath, java.lang.String remoteFile)`
`java.util.Date` | `FileTransferClient.getModifiedTime(java.lang.String remoteFileName)` Get the modified-time of a remote file.
`java.lang.String` | `FileTransferClient.getRemoteDirectory()` Get the current remote directory.
`long` | `FileTransferClient.getSize(java.lang.String remoteFileName)` Get the size of a remote file.
`java.lang.String` | `FileTransferClient.getSystemType()` Get a string that represents the remote system that the client is logged into.
`java.lang.String` | `FTPClient.help(java.lang.String command)` Get the help text for the specified command
`protected void` | `FTPClient.initGet(java.lang.String remoteFile)` Request to the server that the get is set up
`protected java.lang.String` | `FTPClient.initPut(java.lang.String remoteFile, boolean append)` Request the server to set up the put
`void` | `FTPClientInterface.keepAlive()` Tries to keep the current connection alive by some means, usually by sending an innocuous commmand.
`void` | `FTPClient.keepAlive()` Tries to keep the current connection alive by sending an innocuous commmand to signal that the client is still active
`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)`
`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` | `FileTransferClient.manualLogin()` Perform a manual login using the credentials that have been set.
`void` | `FTPClientInterface.mkdir(java.lang.String dir)` Create the specified remote working directory
`void` | `FTPClient.mkdir(java.lang.String dir)`
`java.util.Date` | `FTPClientInterface.modtime(java.lang.String remoteFile)` Get modification time for a remote file.
`java.util.Date` | `FTPClient.modtime(java.lang.String remoteFile)`
`void` | `FTPClient.noOperation()` Send a "no operation" message that does nothing.
`void` | `FTPClient.password(java.lang.String password)` Supplies the password for a previously supplied username to log into the FTP server.
`java.lang.String` | `FTPClientInterface.put(byte[] bytes, java.lang.String remoteFile)` Put data onto the FTP server.
`java.lang.String` | `FTPClient.put(byte[] bytes, java.lang.String remoteFile)`
`java.lang.String` | `FTPClientInterface.put(byte[] bytes, java.lang.String remoteFile, boolean append)` Put data onto the FTP server.
`java.lang.String` | `FTPClient.put(byte[] bytes, java.lang.String remoteFile, boolean append)`
`java.lang.String` | `FTPClientInterface.put(java.io.InputStream srcStream, java.lang.String remoteFile)` Put a stream of data onto the FTP server.
`java.lang.String` | `FTPClient.put(java.io.InputStream srcStream, java.lang.String remoteFile)`
`java.lang.String` | `FTPClientInterface.put(java.io.InputStream srcStream, java.lang.String remoteFile, boolean append)` Put a stream of data onto the FTP server.
`java.lang.String` | `FTPClient.put(java.io.InputStream srcStream, java.lang.String remoteFile, boolean append)`
`java.lang.String` | `FTPClientInterface.put(java.lang.String localPath, java.lang.String remoteFile)` Put a local file onto the FTP server.
`java.lang.String` | `FTPClient.put(java.lang.String localPath, java.lang.String remoteFile)`
`java.lang.String` | `FTPClientInterface.put(java.lang.String localPath, java.lang.String remoteFile, boolean append)` Put a local file onto the FTP server.
`java.lang.String` | `FTPClient.put(java.lang.String localPath, java.lang.String remoteFile, boolean append)`
`java.lang.String` | `FTPClientInterface.pwd()` Get the current remote working directory
`java.lang.String` | `FTPClient.pwd()`
`void` | `FTPClientInterface.quit()` Quit the FTP session
`void` | `FTPClient.quit()`
`void` | `FTPClientInterface.quitImmediately()` Quit the FTP session immediately.
`void` | `FTPClient.quitImmediately()`
`java.lang.String` | `FTPClient.quote(java.lang.String command, java.lang.String[] validCodes)` Issue arbitrary ftp commands to the FTP server.
`void` | `FTPClientInterface.rename(java.lang.String from, java.lang.String to)` Rename a file or directory
`void` | `FTPClient.rename(java.lang.String from, java.lang.String to)`
`void` | `FileTransferClient.rename(java.lang.String renameFromName, java.lang.String renameToName)` Rename a remote file or directory.
`void` | `FTPClient.resetTransferMode(FTPTransferType previousType)` Reset the transfer mode back to what it should be, if it has changed.
`void` | `FTPClient.restart(long size)` Issue the RESTart command to the remote server.
`void` | `FTPClientInterface.resume()` Make the next file transfer (put or get) resume.
`void` | `FTPClient.resume()`
`void` | `FTPClientInterface.rmdir(java.lang.String dir)` Delete the specified remote working directory
`void` | `FTPClient.rmdir(java.lang.String dir)`
`void` | `FTPClient.sendServerWakeup()` Wake up the server during a transfer to prevent a timeout from occuring.
`void` | `FTPClient.setActiveIPAddress(java.lang.String activeIP)` 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)` Force a certain range of ports to be used in active mode.
`void` | `AdvancedFTPSettings.setConnectMode(FTPConnectMode mode)` Set the data transfer mode to either active (PORT) or passive (PASV).
`void` | `FileTransferClient.setContentType(FTPTransferType type)` Set the transfer type for all connections, either ASCII or binary.
`void` | `FTPClient.setControlEncoding(java.lang.String controlEncoding)` Set the control socket's encoding.
`void` | `FTPClient.setControlPort(int controlPort)` Deprecated. Use `FTPClientInterface.setRemotePort(int)` instead.
`protected void` | `FTPControlSocket.setDataPort(java.net.InetAddress host, short portNo)` Sets the data port on the server, that is, sends a PORT command.
`void` | `FileTransferClient.setPassword(java.lang.String password)` Set the password of the user to log in with.
`void` | `FTPClient.setPORTIP(java.lang.String IPAddress)` Deprecated.
`void` | `FTPClient.setRemoteAddr(java.net.InetAddress remoteAddr)` Set the remote address
`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` | `FTPClient.setRemoteHost(java.lang.String remoteHost)`
`void` | `FileTransferClient.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` | `FTPClient.setRemotePort(int remotePort)` Set the control to connect to on the remote server.
`void` | `FileTransferClient.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` | `FileTransferClient.setTimeout(int timeout)` Set the timeout for socket connections.
`void` | `FTPClientInterface.setType(FTPTransferType type)` Set the transfer type
`void` | `FTPClient.setType(FTPTransferType type)` Set the transfer type
`protected void` | `FTPClient.setupDataSocket()` Set up the data socket
`void` | `FileTransferClient.setUserName(java.lang.String userName)` Set the name of the user to log in with.
`boolean` | `FTPClient.site(java.lang.String command)` Run a site-specific command on the server.
`long` | `FTPClientInterface.size(java.lang.String remoteFile)` Get the size of a remote file.
`long` | `FTPClient.size(java.lang.String remoteFile)`
`java.lang.String` | `FTPClient.stat()` Sends stat message to enquire about the status of a transfer.
`java.lang.String` | `FTPClient.system()` Get the type of the OS at the server
`java.lang.String` | `FileTransferClient.uploadFile(java.lang.String localFileName, java.lang.String remoteFileName)` Upload a file to the FTP server.
`java.lang.String` | `FileTransferClient.uploadFile(java.lang.String localFileName, java.lang.String remoteFileName, WriteMode writeMode)` Upload a file to the FTP server.
`FileTransferOutputStream` | `FileTransferClient.uploadStream(java.lang.String remoteFileName)` Upload a file to the FTP server by writing to a stream.
`FileTransferOutputStream` | `FileTransferClient.uploadStream(java.lang.String remoteFileName, WriteMode writeMode)` Upload a file to the FTP server by writing to a stream.
`void` | `FTPClient.user(java.lang.String user)` Supply the user name to log into an account on the FTP server.
`FTPReply` | `FTPControlSocket.validateReply(FTPReply reply, java.lang.String expectedReplyCode)` Validate the response the host has supplied against the expected reply.
`void` | `FTPClient.validateReply(FTPReply reply, java.lang.String expectedReplyCode)` Validate an FTPReply
`FTPReply` | `FTPControlSocket.validateReply(FTPReply reply, java.lang.String[] expectedReplyCodes)` Validate the response the host has supplied against the expected reply.
`void` | `FTPClient.validateReply(FTPReply reply, java.lang.String[] expectedReplyCodes)` Validate an FTPReply
`FTPReply` | `FTPControlSocket.validateReply(java.lang.String reply, java.lang.String[] expectedReplyCodes)` Validate the response the host has supplied against the expected reply.
`void` | `FTPClient.validateTransfer()` Validate that the put() or get() was successful.
`protected void` | `FTPClient.validateTransferOnError(java.io.IOException ex)` Validate a transfer when an error has occurred on the data channel.

Constructors in com.enterprisedt.net.ftp that throw FTPException
`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
`FTPControlSocket(java.net.InetAddress remoteAddr, int controlPort, int timeout, java.lang.String encoding, FTPMessageListener messageListener)` 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.
`FTPFileFactory(java.lang.String system)` Constructor
`FTPInputStream(FTPClient client, java.lang.String remoteFile)` Constructor.
`FTPOutputStream(FTPClient client, java.lang.String remoteFile)` Constructor.
`FTPOutputStream(FTPClient client, java.lang.String remoteFile, boolean append)` Constructor.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright (c) 2001-2007 Enterprise Distributed Technologies Ltd. All Rights Reserved.