# Deprecated API

## Contents

- Deprecated Fields
- Deprecated Methods

- Deprecated Fields
  Field and Description
  com.jscape.inet.pop.Pop.AUTH_PASS replaced by AUTH_LOGIN variable for consistency

- Deprecated Methods
  Method and Description
  com.jscape.inet.ftps.Ftps.addFtpsCertificateVerifier(FtpsCertificateVerifier) see `Ftps.setFtpsCertificateVerifier(FtpsCertificateVerifier)`
  com.jscape.inet.ssh.util.SshHostKeys.addKey(InetAddress, String) use put()
  com.jscape.inet.ftp.Ftp.getCharacterEncoding() use the getWireEncoding method
  com.jscape.inet.ftps.Ftps.getCharacterEncoding() use the getWireEncoding method
  com.jscape.inet.ftp.Ftp.getDataPort() replaced by getDataPortStart and getDataPortEnd methods.
  com.jscape.inet.ftps.Ftps.getDataPort() Replaced by getDataPortStart and getDataPortEnd
  com.jscape.inet.scp.Scp.getDownloadBlockSize() getTransferBufferSizeBytes()
  com.jscape.inet.ssh.util.SshHostKeys.getHosts() use hosts()
  com.jscape.inet.ssh.util.SshHostKeys.getKeys(InetAddress) use entriesOf()
  com.jscape.inet.imap.Imap.getMailboxes() this method uses the FIND ALL.MAILBOXES command as identifed in RFC 1730 and has been obsoleted by RFC 2060, it is recommended you use the listMailboxes command instead.
  com.jscape.inet.scp.Scp.getPreserveTime() use isFileAttributesPreservingRequired
  com.jscape.inet.ssh.util.SshParameters.getProxyUserId() use getProxyUsername()
  com.jscape.inet.ssh.util.SshParameters.getSshHostname() use getHostname()
  com.jscape.inet.ssh.util.SshParameters.getSshPassword() use getPassword()
  com.jscape.inet.ssh.util.SshParameters.getSshPort() use getPort()
  com.jscape.inet.ssh.util.SshParameters.getSshUsername() use getUsername()
  com.jscape.inet.sftp.Sftp.getTimeout() use getParameters()
  com.jscape.inet.imap.Imap.getTimeout() Replaced by getConnectTimeout and getReadTimeout
  com.jscape.inet.pop.Pop.getTimeout() Replaced by getConnectTimeout and getReadTimeout
  com.jscape.inet.smtp.Smtp.getTimeout() Replaced by getConnectTimeout and getReadTimeout
  com.jscape.inet.scp.Scp.getUploadBlockSize() use getTransferBufferSizeBytes()
  com.jscape.inet.ssh.util.SshHostKeys.removeKey(InetAddress, String) use remove()
  com.jscape.inet.sftp.Sftp.setBlockSize(int) see #setUploadBlockSize
  com.jscape.inet.ftp.Ftp.setCharacterEncoding(String) use the setWireEncoding method
  com.jscape.inet.ftps.Ftps.setCharacterEncoding(String) use the setWireEncoding method
  com.jscape.inet.ftp.Ftp.setDataPort(int) Replaced by setDataPortRange
  com.jscape.inet.ftps.Ftps.setDataPort(int) Replaced by setDataPortRange
  com.jscape.inet.scp.Scp.setDownloadBlockSize(int) use setTransferBufferSizeBytes()
  com.jscape.inet.scp.Scp.setPreserveTime(boolean) use setFileAttributesPreservingRequired
  com.jscape.inet.ssh.util.SshParameters.setProxyUserId(String) use setProxyUsername()
  com.jscape.inet.ssh.util.SshParameters.setSshHostname(String) use setHostname()
  com.jscape.inet.ssh.util.SshParameters.setSshPassword(String) use setPassword()
  com.jscape.inet.ssh.util.SshParameters.setSshPort(int) use setPort()
  com.jscape.inet.ssh.util.SshParameters.setSshUsername(String) use setUsername()
  com.jscape.inet.imap.Imap.setTimeout(int) Replaced by setConnectTimeout and setReadTimeout
  com.jscape.inet.pop.Pop.setTimeout(int) Replaced by setConnectTimeout and setReadTimeout
  com.jscape.inet.smtp.Smtp.setTimeout(int) Replaced by setConnectTimeout and setReadTimeout
  com.jscape.inet.sftp.Sftp.setTimeout(long) use setParameters()
  com.jscape.inet.scp.Scp.setUploadBlockSize(int) use setTransferBufferSizeBytes()

Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved