Class FtpsConfiguration


  • @UriParams
    public class FtpsConfiguration
    extends FtpConfiguration
    FTP Secure (FTP over SSL/TLS) configuration
    • Constructor Detail

      • FtpsConfiguration

        public FtpsConfiguration()
      • FtpsConfiguration

        public FtpsConfiguration​(URI uri)
    • Method Detail

      • getSecurityProtocol

        public String getSecurityProtocol()
        Returns the underlying security protocol.
      • setSecurityProtocol

        public void setSecurityProtocol​(String securityProtocol)
        Set the underlying security protocol.
      • isImplicit

        public boolean isImplicit()
        Returns the security mode(Implicit/Explicit). true - Implicit Mode / False - Explicit Mode
      • setImplicit

        public void setImplicit​(boolean implicit)
        Set the security mode (Implicit/Explicit). true - Implicit Mode / False - Explicit Mode
      • isDisableSecureDataChannelDefaults

        public boolean isDisableSecureDataChannelDefaults()
      • setDisableSecureDataChannelDefaults

        public void setDisableSecureDataChannelDefaults​(boolean disableSecureDataChannelDefaults)
        Use this option to disable default options when using secure data channel.

        This allows you to be in full control what the execPbsz and execProt setting should be used.

        Default is false

        See Also:
        setExecPbsz(Long), setExecProt(String)
      • getExecProt

        public String getExecProt()
      • setExecProt

        public void setExecProt​(String execProt)
        The exec protection level

        PROT command. C - Clear S - Safe(SSL protocol only) E - Confidential(SSL protocol only) P - Private

        Parameters:
        execProt - either C, S, E or P
      • getExecPbsz

        public Long getExecPbsz()
      • setExecPbsz

        public void setExecPbsz​(Long execPbsz)
        When using secure data channel you can set the exec protection buffer size
        Parameters:
        execPbsz - the buffer size