static FTPEnvironment |
FTPEnvironment.copy(Map<String,?> env) |
|
FTPEnvironment |
FTPEnvironment.withActiveExternalIPAddress(String ipAddress) |
Stores the external IP address in active mode.
|
FTPEnvironment |
FTPEnvironment.withActivePortRange(int minPort,
int maxPort) |
Stores the client side port range in active mode.
|
FTPEnvironment |
FTPEnvironment.withAutodetectEncoding(boolean autodetect) |
Stores whether or not automatic server encoding detection should be enabled.
|
FTPEnvironment |
FTPEnvironment.withBufferSize(int bufferSize) |
Stores the buffer size to use.
|
FTPEnvironment |
FTPEnvironment.withCharset(Charset charset) |
Stores the charset to use.
|
FTPEnvironment |
FTPEnvironment.withClientConfig(FTPClientConfig clientConfig) |
Stores the FTP client config to use.
|
FTPEnvironment |
FTPEnvironment.withConnectionMode(ConnectionMode connectionMode) |
Stores the connection mode to use.
|
FTPEnvironment |
FTPEnvironment.withConnectTimeout(int timeout) |
Stores the connection timeout to use.
|
FTPEnvironment |
FTPEnvironment.withControlEncoding(String encoding) |
Stores the character encoding to be used by the FTP control connection.
|
FTPEnvironment |
FTPEnvironment.withControlKeepAliveReplyTimeout(int timeout) |
Deprecated.
|
FTPEnvironment |
FTPEnvironment.withControlKeepAliveReplyTimeout(Duration timeout) |
Stores how long to wait for control keep-alive message replies.
|
FTPEnvironment |
FTPEnvironment.withControlKeepAliveTimeout(long timeout) |
Deprecated.
|
FTPEnvironment |
FTPEnvironment.withControlKeepAliveTimeout(Duration timeout) |
Stores the time to wait between sending control connection keep-alive messages when processing file upload or download.
|
FTPEnvironment |
FTPEnvironment.withCredentials(String username,
char[] password) |
Stores the credentials to use.
|
FTPEnvironment |
FTPEnvironment.withCredentials(String username,
char[] password,
String account) |
Stores the credentials to use.
|
FTPEnvironment |
FTPEnvironment.withDataTimeout(int timeout) |
Deprecated.
|
FTPEnvironment |
FTPEnvironment.withDataTimeout(Duration timeout) |
Stores the timeout to use when reading from data connections.
|
FTPEnvironment |
FTPEnvironment.withDefaultDirectory(String pathname) |
Stores the default directory to use.
|
FTPEnvironment |
FTPEnvironment.withFileSystemExceptionFactory(FileSystemExceptionFactory factory) |
Stores the file system exception factory to use.
|
FTPEnvironment |
FTPEnvironment.withFTPFileStrategyFactory(FTPFileStrategyFactory factory) |
Stores the FTP file strategy factory to use.
|
FTPEnvironment |
FTPEnvironment.withIpAddressFromPasvResponse(boolean usingIpAddressFromPasvResponse) |
Sets whether or not the IP address from the server's response should be used.
|
FTPEnvironment |
FTPEnvironment.withKeepAlive(boolean keepAlive) |
Stores whether or not SO_KEEPALIVE should be enabled.
|
FTPEnvironment |
FTPEnvironment.withListHiddenFiles(boolean listHiddenFiles) |
Stores whether or not to list hidden files.
|
FTPEnvironment |
FTPEnvironment.withLocalAddress(InetAddress localAddr,
int localPort) |
Stores the local address to use.
|
FTPEnvironment |
FTPEnvironment.withParserFactory(FTPFileEntryParserFactory parserFactory) |
Stores the factory used for parser creation.
|
FTPEnvironment |
FTPEnvironment.withPassiveLocalIPAddress(String ipAddress) |
Stores the local IP address to use in passive mode.
|
FTPEnvironment |
FTPEnvironment.withPassiveNatWorkaroundStrategy(FTPClient.HostnameResolver resolver) |
Stores the workaround strategy to replace the PASV mode reply addresses.
|
FTPEnvironment |
FTPEnvironment.withPoolConfig(FTPPoolConfig poolConfig) |
Stores the pool config to use.
|
FTPEnvironment |
FTPEnvironment.withProxy(Proxy proxy) |
Stores the proxy to use.
|
FTPEnvironment |
FTPEnvironment.withReceiveBufferSize(int size) |
Stores the socket receive buffer size to use.
|
FTPEnvironment |
FTPEnvironment.withReceiveDataSocketBufferSize(int bufferSize) |
Stores the value to use for the data socket SO_RCVBUF option.
|
FTPEnvironment |
FTPEnvironment.withRemoteVerificationEnabled(boolean enabled) |
Stores whether or not verification that the remote host taking part of a data connection is the same as the host to which the control
connection is attached should be enabled.
|
FTPEnvironment |
FTPEnvironment.withReportActiveExternalIPAddress(String ipAddress) |
Stores the external IP address to report in EPRT/PORT commands in active mode.
|
FTPEnvironment |
FTPEnvironment.withSendBufferSize(int size) |
Stores the socket send buffer size to use.
|
FTPEnvironment |
FTPEnvironment.withSendDataSocketBufferSize(int bufferSizr) |
Stores the value to use for the data socket SO_SNDBUF option.
|
FTPEnvironment |
FTPEnvironment.withServerSocketFactory(ServerSocketFactory factory) |
Stores the server socket factory to use.
|
FTPEnvironment |
FTPEnvironment.withSocketFactory(SocketFactory factory) |
Stores the socket factory to use.
|
FTPEnvironment |
FTPEnvironment.withSoLinger(boolean on,
int linger) |
Stores whether or not SO_LINGER should be enabled, and if so, the linger time.
|
FTPEnvironment |
FTPEnvironment.withSoTimeout(int timeout) |
Stores the socket timeout.
|
FTPEnvironment |
FTPEnvironment.withStrictMultilineParsing(boolean strictMultilineParsing) |
Stores whether or not strict multiline parsing should be enabled, as per RFC 959, section 4.2.
|
FTPEnvironment |
FTPEnvironment.withTcpNoDelay(boolean on) |
Stores whether or not the Nagle's algorithm (TCP_NODELAY ) should be enabled.
|
FTPEnvironment |
FTPEnvironment.withUseEPSVwithIPv4(boolean selected) |
Stores whether or not to use EPSV with IPv4.
|