public class CommonsNetFtpClient extends ApacheFtpClientImpl<org.apache.commons.net.ftp.FTPClient>
additionalSettings
logR
Constructor and Description |
---|
CommonsNetFtpClient(java.lang.String remoteHost) |
CommonsNetFtpClient(java.lang.String remoteHost,
int port) |
CommonsNetFtpClient(java.lang.String remoteHost,
int port,
int timeout)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.commons.net.ftp.FTPClient |
createFTPClient()
Create the base commons net client.
|
protected void |
postConnectSettings(org.apache.commons.net.ftp.FTPClient client) |
protected void |
preConnectSettings(org.apache.commons.net.ftp.FTPClient client) |
chdir, connect, connect, delete, dir, dir, disconnect, disconnect, get, get, getKeepAliveTimeout, getTimeout, handleReturnValue, isConnected, lastModified, lastModifiedDate, mkdir, put, pwd, rename, rmdir, setDataMode, setKeepAliveTimeout, setServerTimezone, setTimeout, setType, system, withAdditionalSettings
dir, ensureNotNull, isAdditionaDebug, log, setAdditionalDebug
public CommonsNetFtpClient(java.lang.String remoteHost, int port, int timeout) throws java.io.IOException
remoteHost
- the remote hostnameport
- the port for control streamtimeout
- the length of the timeout, in millisecondsjava.io.IOException
- if a comms error occurspublic CommonsNetFtpClient(java.lang.String remoteHost) throws java.io.IOException
java.io.IOException
CommonsNetFtpClient(String, int, int)
public CommonsNetFtpClient(java.lang.String remoteHost, int port) throws java.io.IOException
java.io.IOException
CommonsNetFtpClient(String, int, int)
protected org.apache.commons.net.ftp.FTPClient createFTPClient()
ApacheFtpClientImpl
createFTPClient
in class ApacheFtpClientImpl<org.apache.commons.net.ftp.FTPClient>
protected void preConnectSettings(org.apache.commons.net.ftp.FTPClient client) throws java.io.IOException
preConnectSettings
in class ApacheFtpClientImpl<org.apache.commons.net.ftp.FTPClient>
java.io.IOException
protected void postConnectSettings(org.apache.commons.net.ftp.FTPClient client) throws java.io.IOException
postConnectSettings
in class ApacheFtpClientImpl<org.apache.commons.net.ftp.FTPClient>
java.io.IOException