edtFTPj

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

Packages that use FTPException
com.enterprisedt.net.ftp   
 

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(String accountInfo)
          Supply account information string to the server.
 void FTPClient.cancelResume()
           
 void FTPClientInterface.cancelResume()
          Cancel the resume.
 void FTPClient.cdup()
           
 void FTPClientInterface.cdup()
          Change the remote working directory to the parent directory
 void FTPClient.chdir(String dir)
           
 void FTPClientInterface.chdir(String dir)
          Change the remote working directory to that supplied
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 FTPClient.chooseTransferMode(String filename)
          Switch the transfer mode if requested and if necessary
 void FTPClient.connect()
          Connects to the server at the address and port number defined in the constructor.
 void FTPClientInterface.connect()
          Connects to the server at the address and port number defined in the constructor.
protected  FTPDataSocket FTPControlSocket.createDataSocketPASV()
          Request a data socket be created on the server, connect to it and return our connected socket.
 void FTPClient.delete(String remoteFile)
           
 void FTPClientInterface.delete(String remoteFile)
          Delete the specified remote file
 String[] FTPClient.dir()
           
 String[] FTPClientInterface.dir()
          List current directory's contents as an array of strings of filenames.
 String[] FTPClient.dir(String dirname)
           
 String[] FTPClientInterface.dir(String dirname)
          List a directory's contents as an array of strings of filenames.
 String[] FTPClient.dir(String dirname, boolean full)
           
 String[] FTPClientInterface.dir(String dirname, boolean full)
          List a directory's contents as an array of strings.
 FTPFile[] FTPClient.dirDetails(String dirname)
           
 FTPFile[] FTPClientInterface.dirDetails(String dirname)
          List a directory's contents as an array of FTPFile objects.
 boolean FTPClient.exists(String remoteFile)
           
 boolean FTPClientInterface.exists(String remoteFile)
          Does the named file exist in the current server directory?
 String[] FTPClient.features()
          Get the server supplied features
 FTPFile FTPClient.fileDetails(String name)
          Uses the MLST command to find out details about the named file.
 void FTPClient.get(OutputStream destStream, String remoteFile)
           
 void FTPClientInterface.get(OutputStream destStream, String remoteFile)
          Get data from the FTP server.
 byte[] FTPClient.get(String remoteFile)
           
 byte[] FTPClientInterface.get(String remoteFile)
          Get data from the FTP server.
 void FTPClient.get(String localPath, String remoteFile)
           
 void FTPClientInterface.get(String localPath, String remoteFile)
          Get data from the FTP server.
 String FTPClient.help(String command)
          Get the help text for the specified command
protected  void FTPClient.initGet(String remoteFile)
          Request to the server that the get is set up
protected  String FTPClient.initPut(String remoteFile, boolean append)
          Request the server to set up the put
 void FTPClient.keepAlive()
          Tries to keep the current connection alive by sending an innocuous commmand to signal that the client is still active
 void FTPClientInterface.keepAlive()
          Tries to keep the current connection alive by some means, usually by sending an innocuous commmand.
 String FTPClient.list(String dirname)
          Deprecated. As of FTP 1.1, replaced by FTPClient.dir(String)
 String FTPClient.list(String dirname, boolean full)
          Deprecated. As of FTP 1.1, replaced by FTPClient.dir(String,boolean)
 void FTPClient.login(String user, String password)
          Login into an account on the FTP server.
 void FTPClient.login(String user, String password, String accountInfo)
          Login into an account on the FTP server.
 void FTPClient.mkdir(String dir)
           
 void FTPClientInterface.mkdir(String dir)
          Create the specified remote working directory
 Date FTPClient.modtime(String remoteFile)
           
 Date FTPClientInterface.modtime(String remoteFile)
          Get modification time for a remote file.
 void FTPClient.noOperation()
          Send a "no operation" message that does nothing.
 void FTPClient.password(String password)
          Supplies the password for a previously supplied username to log into the FTP server.
 String FTPClient.put(byte[] bytes, String remoteFile)
           
 String FTPClientInterface.put(byte[] bytes, String remoteFile)
          Put data onto the FTP server.
 String FTPClient.put(byte[] bytes, String remoteFile, boolean append)
           
 String FTPClientInterface.put(byte[] bytes, String remoteFile, boolean append)
          Put data onto the FTP server.
 String FTPClient.put(InputStream srcStream, String remoteFile)
           
 String FTPClientInterface.put(InputStream srcStream, String remoteFile)
          Put a stream of data onto the FTP server.
 String FTPClient.put(InputStream srcStream, String remoteFile, boolean append)
           
 String FTPClientInterface.put(InputStream srcStream, String remoteFile, boolean append)
          Put a stream of data onto the FTP server.
 String FTPClient.put(String localPath, String remoteFile)
           
 String FTPClientInterface.put(String localPath, String remoteFile)
          Put a local file onto the FTP server.
 String FTPClient.put(String localPath, String remoteFile, boolean append)
           
 String FTPClientInterface.put(String localPath, String remoteFile, boolean append)
          Put a local file onto the FTP server.
 String FTPClient.pwd()
           
 String FTPClientInterface.pwd()
          Get the current remote working directory
 void FTPClient.quit()
           
 void FTPClientInterface.quit()
          Quit the FTP session
 void FTPClient.quitImmediately()
           
 void FTPClientInterface.quitImmediately()
          Quit the FTP session immediately.
 String FTPClient.quote(String command, String[] validCodes)
          Issue arbitrary ftp commands to the FTP server.
 void FTPClient.rename(String from, String to)
           
 void FTPClientInterface.rename(String from, String to)
          Rename a 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 FTPClient.resume()
           
 void FTPClientInterface.resume()
          Make the next file transfer (put or get) resume.
 void FTPClient.rmdir(String dir)
           
 void FTPClientInterface.rmdir(String dir)
          Delete the specified remote working directory
 void FTPClient.sendServerWakeup()
          Wake up the server during a transfer to prevent a timeout from occuring.
 void FTPClient.setActiveIPAddress(String forcedActiveIP)
          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 FTPClient.setControlEncoding(String controlEncoding)
          Set the control socket's encoding.
 void FTPClient.setControlPort(int controlPort)
          Deprecated. Use FTPClientInterface.setRemotePort(int) instead.
protected  void FTPControlSocket.setDataPort(InetAddress host, short portNo)
          Sets the data port on the server, that is, sends a PORT command.
 void FTPClient.setPORTIP(String IPAddress)
          Deprecated.  
 void FTPClient.setRemoteAddr(InetAddress remoteAddr)
          Set the remote address
 void FTPClient.setRemoteHost(String remoteHost)
           
 void FTPClientInterface.setRemoteHost(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.setRemotePort(int remotePort)
          Set the control to connect to on the remote 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 FTPClient.setType(FTPTransferType type)
          Set the transfer type
 void FTPClientInterface.setType(FTPTransferType type)
          Set the transfer type
protected  void FTPClient.setupDataSocket()
          Set up the data socket
 boolean FTPClient.site(String command)
          Run a site-specific command on the server.
 long FTPClient.size(String remoteFile)
           
 long FTPClientInterface.size(String remoteFile)
          Get the size of a remote file.
 String FTPClient.stat()
          Sends stat message to enquire about the status of a transfer.
 String FTPClient.system()
          Get the type of the OS at the server
 void FTPClient.user(String user)
          Supply the user name to log into an account on the FTP server.
 FTPReply FTPControlSocket.validateReply(FTPReply reply, String expectedReplyCode)
          Validate the response the host has supplied against the expected reply.
 FTPReply FTPControlSocket.validateReply(FTPReply reply, String[] expectedReplyCodes)
          Validate the response the host has supplied against the expected reply.
 FTPReply FTPControlSocket.validateReply(String reply, 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(IOException ex)
          Validate a transfer when an error has occurred on the data channel.
 

Constructors in com.enterprisedt.net.ftp that throw FTPException
FTPClient(InetAddress remoteAddr)
          Deprecated. use setter methods to set properties
FTPClient(InetAddress remoteAddr, int controlPort)
          Deprecated. use setter methods to set properties
FTPClient(InetAddress remoteAddr, int controlPort, int timeout)
          Deprecated. use setter methods to set properties
FTPClient(InetAddress remoteAddr, int controlPort, int timeout, String encoding)
          Deprecated. use setter methods to set properties
FTPClient(String remoteHost)
          Deprecated. use setter methods to set properties
FTPClient(String remoteHost, int controlPort)
          Deprecated. use setter methods to set properties
FTPClient(String remoteHost, int controlPort, int timeout)
          Deprecated. use setter methods to set properties
FTPClient(String remoteHost, int controlPort, int timeout, String encoding)
          Deprecated. use setter methods to set properties
FTPControlSocket(InetAddress remoteAddr, int controlPort, int timeout, String encoding, FTPMessageListener messageListener)
          Constructor.
FTPControlSocket(InetAddress remoteAddr, Socket controlSock, int timeout, String encoding, FTPMessageListener messageListener)
          Constructs a new FTPControlSocket using the given Socket object.
FTPFileFactory(String system)
          Constructor
 


edtFTPj

Copyright © 2000-2007 Enterprise Distributed Technologies. All Rights Reserved.