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.

Uses of FTPException in com.enterprisedt.net.ftp

Subclasses of FTPException in com.enterprisedt.net.ftp
`class` | `FTPConnectionClosedException` Thrown when an FTP transfer has been closed by the server
`class` | `FTPTransferCancelledException` Thrown when an FTP transfer has been cancelled
`class` | `MalformedReplyException` A malformed reply was received from the server

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` | `FileTransferClientInterface.changeDirectory(java.lang.String directoryName)` Change directory on the FTP server.
`void` | `FileTransferClient.changeDirectory(java.lang.String directoryName)` Change directory on the FTP server.
`void` | `FileTransferClientInterface.changeToParentDirectory()` Change to parent 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 FTPTransferType` | `FTPClient.chooseTransferMode(java.lang.String filename)` Switch the transfer mode if requested and if necessary
`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` | `FileTransferClientInterface.connect()` Make a connection to the FTP server.
`void` | `FileTransferClient.connect()` Make a connection to the FTP server.
`protected com.enterprisedt.net.ftp.internal.FTPDataSocket` | `FTPControlSocket.createDataSocketPASV()` Request a data socket be created on the server, connect to it and return our connected socket.
`void` | `FileTransferClientInterface.createDirectory(java.lang.String directoryName)` Create directory on the FTP server.
`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` | `FileTransferClientInterface.deleteDirectory(java.lang.String directoryName)` Create directory on the FTP server.
`void` | `FileTransferClient.deleteDirectory(java.lang.String directoryName)` Create directory on the FTP server.
`void` | `FileTransferClientInterface.deleteFile(java.lang.String remoteFileName)` Deletes a remote file.
`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[]` | `FileTransferClientInterface.directoryList()` List the current directory on the FTP server.
`FTPFile[]` | `FileTransferClient.directoryList()` List the current directory on the FTP server.
`FTPFile[]` | `FileTransferClientInterface.directoryList(java.lang.String directoryName)` List a directory on the FTP server.
`FTPFile[]` | `FileTransferClient.directoryList(java.lang.String directoryName)` List a directory on the FTP server.
`java.lang.String[]` | `FileTransferClientInterface.directoryNameList()` List the names of files and directories in the current 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[]` | `FileTransferClientInterface.directoryNameList(java.lang.String directoryName, boolean isLongListing)` List the names of files and directories of a 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` | `FileTransferClientInterface.disconnect()` Disconnect from the FTP server.
`void` | `FileTransferClient.disconnect()` Disconnect from the FTP server.
`void` | `FileTransferClientInterface.disconnect(boolean immediate)` Disconnect from the FTP server.
`void` | `FileTransferClient.disconnect(boolean immediate)` Disconnect from the FTP server.
`byte[]` | `FileTransferClientInterface.downloadByteArray(java.lang.String remoteFileName)` Download a file from the FTP server into a byte array.
`byte[]` | `FileTransferClient.downloadByteArray(java.lang.String remoteFileName)` Download a file from the FTP server into a byte array.
`void` | `FileTransferClientInterface.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)` Download a file from the FTP server .
`void` | `FileTransferClientInterface.downloadFile(java.lang.String localFileName, java.lang.String remoteFileName, WriteMode writeMode)` 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` | `FileTransferClientInterface.downloadStream(java.lang.String remoteFileName)` Download a file from the FTP server as a stream.
`FileTransferInputStream` | `FileTransferClient.downloadStream(java.lang.String remoteFileName)` Download a file from the FTP server as a stream.
`static void` | `FileTransferClient.downloadURLFile(java.lang.String localFileName, java.lang.String ftpURL)` Downloads the given file to the given FTP URL.
`static FileTransferInputStream` | `FileTransferClient.downloadURLStream(java.lang.String ftpURL)` Open an InputStream for the given FTP URL.
`java.lang.String` | `FTPClientInterface.executeCommand(java.lang.String command)` Request that the remote server execute the literal command supplied.
`java.lang.String` | `FTPClient.executeCommand(java.lang.String command)` Request that the remote server execute the literal command supplied.
`java.lang.String` | `FileTransferClientInterface.executeCommand(java.lang.String command)` Request that the remote server execute the literal command supplied.
`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` | `FileTransferClientInterface.exists(java.lang.String remoteFileName)` Determine if a remote file exists.
`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` | `FileTransferClientInterface.getModifiedTime(java.lang.String remoteFileName)` Get the modified-time of a remote file.
`java.util.Date` | `FileTransferClient.getModifiedTime(java.lang.String remoteFileName)` Get the modified-time of a remote file.
`java.lang.String` | `FileTransferClientInterface.getRemoteDirectory()` Get the current remote directory.
`java.lang.String` | `FileTransferClient.getRemoteDirectory()` Get the current remote directory.
`long` | `FileTransferClientInterface.getSize(java.lang.String remoteFileName)` Get the size of a remote file.
`long` | `FileTransferClient.getSize(java.lang.String remoteFileName)` Get the size of a remote file.
`java.lang.String` | `FileTransferClientInterface.getSystemType()` Get a string that represents the remote system that the client is logged into.
`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 command 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.
`protected void` | `FTPClient.postTransferChecks(byte[] localBytes, java.lang.String remotePath, FTPTransferType transferType, boolean append)` Can be overridden by subclasses to do any necessary post transfer checking.
`protected void` | `FTPClient.postTransferChecks(java.lang.String localPath, java.lang.String remotePath, FTPTransferType transferType, boolean append)` Can be overridden by subclasses to do any necessary post transfer checking.
`protected static void` | `FileTransferClient.prepareURLTransfer(java.net.URL url, FileTransferClientInterface client)`
`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)` Issue arbitrary ftp commands to the FTP server.
`java.lang.String` | `FTPClient.quote(java.lang.String command, java.lang.String[] validCodes)` Issue arbitrary ftp commands to the FTP server.
`protected void` | `FTPClient.reconnect(java.lang.String cwd)` Reconnect to the 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` | `FileTransferClientInterface.rename(java.lang.String renameFromName, java.lang.String renameToName)` Rename a remote file or directory.
`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)`
`FTPReply` | `FTPControlSocket.sendCommand(java.lang.String command)` Send a command to the FTP server and return the server's reply as a structured reply object
`FTPReply` | `FTPClient.sendCommand(java.lang.String command)` Send a command to the server and get the reply
`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` | `FileTransferClientInterface.setContentType(FTPTransferType type)` Set the transfer type for all connections, either ASCII or binary.
`void` | `FileTransferClient.setContentType(FTPTransferType type)` Set the transfer type for all connections, either ASCII or binary.
`void` | `FTPClientInterface.setControlEncoding(java.lang.String controlEncoding)` Set the encoding used on the control channel.
`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, int portNo)` Sets the data port on the server, that is, sends a PORT command.
`void` | `FileTransferClientInterface.setModifiedTime(java.lang.String remoteFileName, java.util.Date modifiedTime)` Set the modified-time of a remote file.
`void` | `FileTransferClient.setModifiedTime(java.lang.String remoteFileName, java.util.Date modifiedTime)` Set the modified-time of a remote file.
`void` | `FTPClientInterface.setModTime(java.lang.String path, java.util.Date modTime)` Set the last modified time (UTC) for the supplied file.
`void` | `FTPClient.setModTime(java.lang.String remoteFile, java.util.Date modTime)`
`void` | `FileTransferClientInterface.setPassword(java.lang.String password)` Set the password of the user to log in with.
`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` | `FileTransferClientInterface.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` | `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` | `FileTransferClientInterface.setRemotePort(int remotePort)` Set the port 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` | `FileTransferClientInterface.setTimeout(int timeout)` Set the timeout for socket connections.
`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` | `FileTransferClientInterface.setUserName(java.lang.String userName)` Set the name of the user to log in with.
`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` | `FTPClientInterface.system()` Get a string representing the remote system
`java.lang.String` | `FTPClient.system()` Get the type of the OS at the server
`java.lang.String` | `FileTransferClientInterface.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)` Upload a file to the FTP server.
`java.lang.String` | `FileTransferClientInterface.uploadFile(java.lang.String localFileName, java.lang.String remoteFileName, WriteMode writeMode)` 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` | `FileTransferClientInterface.uploadStream(java.lang.String remoteFileName)` Upload a file to the FTP server by writing to a stream.
`FileTransferOutputStream` | `FileTransferClient.uploadStream(java.lang.String remoteFileName)` Upload a file to the FTP server by writing to a stream.
`FileTransferOutputStream` | `FileTransferClientInterface.uploadStream(java.lang.String remoteFileName, WriteMode writeMode)` 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.
`static void` | `FileTransferClient.uploadURLFile(java.lang.String localFileName, java.lang.String ftpURL)` Uploads the given file to the given FTP URL.
`static FileTransferOutputStream` | `FileTransferClient.uploadURLStream(java.lang.String ftpURL)` Open an OutputStream for the given FTP URL.
`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, StreamSocket 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.