Class FTPException

All Implemented Interfaces:
Serializable

public class FTPException extends IOException
Indicates that a FTP operation failed due to a protocol violation. For instance, if authentication fails.
Author:
pjack
See Also:
  • Constructor Details

    • FTPException

      public FTPException(int code)
      Constructs a new FTPException.
      Parameters:
      code - the error code from the FTP server
  • Method Details

    • getReplyCode

      public int getReplyCode()
      Returns the error code from the FTP server.
      Returns:
      the error code from the FTP server