Modifier and Type | Method and Description |
---|---|
FTPEnvironment |
FTPEnvironment.withActiveExternalIPAddress(String ipAddress)
Stores the external IP address in active mode.
|
FTPSEnvironment |
FTPSEnvironment.withAuthCommand(String command)
Stores the AUTH command to use.
|
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.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(Duration timeout)
Stores how long to wait for control keep-alive message replies.
|
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,
String account)
Stores the credentials to use.
|
FTPSEnvironment |
FTPSEnvironment.withDataChannelProtectionLevel(DataChannelProtectionLevel dataChannelProtectionLevel)
Stores the data channel protection level to use.
|
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.
|
FTPSEnvironment |
FTPSEnvironment.withEnabledCipherSuites(String... cipherSuites)
Stores the names of the cipher suites which could be enabled for use on connections.
|
FTPSEnvironment |
FTPSEnvironment.withEnabledProtocols(String... protocolVersions)
Stores which particular protocol versions are enabled for use on connections.
|
FTPSEnvironment |
FTPSEnvironment.withEnabledSessionCreation(boolean established)
Stores whether or not new SSL sessions may be established by sockets.
|
FTPSEnvironment |
FTPSEnvironment.withEndpointCheckingEnabled(boolean enabled)
Stores whether or not endpoint identification using the HTTPS algorithm should be enabled.
|
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.
|
FTPSEnvironment |
FTPSEnvironment.withNeedClientAuth(boolean needClientAuth)
Stores whether or not sockets will require client authentication.
|
FTPEnvironment |
FTPEnvironment.withPassiveLocalIPAddress(String ipAddress)
Stores the local IP address to use in passive mode.
|
FTPSEnvironment |
FTPSEnvironment.withProtocol(String protocol)
Stores the protocol 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.
|
FTPSEnvironment |
FTPSEnvironment.withSecurityMode(SecurityMode securityMode)
Stores the security mode to use.
|
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.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. |
FTPSEnvironment |
FTPSEnvironment.withUseClientMode(boolean useClientMode)
Stores whether or not sockets are set to use client mode in their first handshake.
|
FTPEnvironment |
FTPEnvironment.withUseEPSVwithIPv4(boolean selected)
Stores whether or not to use EPSV with IPv4.
|
FTPSEnvironment |
FTPSEnvironment.withWantClientAuth(boolean wantClientAuth)
Stores whether or not sockets will request client authentication.
|
Copyright © 2016–2024. All rights reserved.