Class FtpsConfiguration
java.lang.Object
org.apache.camel.component.file.GenericFileConfiguration
org.apache.camel.component.file.remote.RemoteFileConfiguration
org.apache.camel.component.file.remote.FtpConfiguration
org.apache.camel.component.file.remote.FtpsConfiguration
FTP Secure (FTP over SSL/TLS) configuration
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.camel.component.file.remote.RemoteFileConfiguration
RemoteFileConfiguration.PathSeparator
-
Field Summary
Fields inherited from class org.apache.camel.component.file.remote.FtpConfiguration
DEFAULT_FTP_PORT
Fields inherited from class org.apache.camel.component.file.GenericFileConfiguration
directory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the underlying security protocol.boolean
boolean
Returns the security mode(Implicit/Explicit).void
setDisableSecureDataChannelDefaults
(boolean disableSecureDataChannelDefaults) Use this option to disable default options when using secure data channel.void
setExecPbsz
(Long execPbsz) When using secure data channel you can set the exec protection buffer sizevoid
setExecProt
(String execProt) The exec protection levelvoid
setImplicit
(boolean implicit) Set the security mode (Implicit/Explicit).void
setSecurityProtocol
(String securityProtocol) Set the underlying security protocol.Methods inherited from class org.apache.camel.component.file.remote.FtpConfiguration
getAccount, getActivePortRange, getChmod, isHandleDirectoryParserAbsoluteResult, setAccount, setActivePortRange, setChmod, setDefaultPort, setHandleDirectoryParserAbsoluteResult
Methods inherited from class org.apache.camel.component.file.remote.RemoteFileConfiguration
configure, getConnectTimeout, getDirectoryName, getHost, getPassword, getPort, getProtocol, getSeparator, getSiteCommand, getSoTimeout, getTimeout, getUsername, isBinary, isIgnoreFileNotFoundOrPermissionError, isPassiveMode, isSendNoop, isStepwise, isStreamDownload, isThrowExceptionOnConnectFailed, isUseList, needToNormalize, normalizePath, remoteServerInformation, setBinary, setConnectTimeout, setDirectoryName, setHost, setIgnoreFileNotFoundOrPermissionError, setPassiveMode, setPassword, setPort, setProtocol, setSendNoop, setSeparator, setSiteCommand, setSoTimeout, setStepwise, setStreamDownload, setThrowExceptionOnConnectFailed, setTimeout, setUseList, setUsername
Methods inherited from class org.apache.camel.component.file.GenericFileConfiguration
getDirectory, setDirectory, toString
-
Constructor Details
-
FtpsConfiguration
public FtpsConfiguration() -
FtpsConfiguration
-
-
Method Details
-
getSecurityProtocol
Returns the underlying security protocol. -
setSecurityProtocol
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:
-
getExecProt
-
setExecProt
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
-
setExecPbsz
When using secure data channel you can set the exec protection buffer size- Parameters:
execPbsz
- the buffer size
-