@UriParams public class FtpConfiguration extends RemoteFileConfiguration
RemoteFileConfiguration.PathSeparator
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_FTP_PORT |
Constructor and Description |
---|
FtpConfiguration() |
FtpConfiguration(URI uri) |
Modifier and Type | Method and Description |
---|---|
String |
getAccount() |
String |
getActivePortRange() |
String |
getChmod() |
boolean |
isHandleDirectoryParserAbsoluteResult() |
void |
setAccount(String account)
Account to use for login
|
void |
setActivePortRange(String activePortRange)
Set the client side port range in active mode.
|
void |
setChmod(String chmod)
Allows you to set chmod on the stored file.
|
protected void |
setDefaultPort() |
void |
setHandleDirectoryParserAbsoluteResult(boolean handleDirectoryParserAbsoluteResult)
Allows you to set how the consumer will handle subfolders and files
in the path if the directory parser results in with absolute paths
The reason for this is that some FTP servers may return file names
with absolute paths, and if so then the FTP component needs to handle
this by converting the returned path into a relative path.
|
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
public static final int DEFAULT_FTP_PORT
public FtpConfiguration()
public FtpConfiguration(URI uri)
protected void setDefaultPort()
setDefaultPort
in class RemoteFileConfiguration
public String getAccount()
public void setAccount(String account)
public String getActivePortRange()
public void setActivePortRange(String activePortRange)
public void setChmod(String chmod)
public String getChmod()
public boolean isHandleDirectoryParserAbsoluteResult()
public void setHandleDirectoryParserAbsoluteResult(boolean handleDirectoryParserAbsoluteResult)
Apache Camel