Package | Description |
---|---|
org.apache.commons.vfs2.provider.ftp |
The FTP File Provider.
|
Modifier and Type | Class and Description |
---|---|
class |
FTPClientWrapper
A wrapper to the FTPClient to allow automatic reconnect on connection loss.
|
Modifier and Type | Field and Description |
---|---|
private FtpClient |
FtpFileObject.FtpInputStream.client |
private FtpClient |
FtpFileObject.FtpOutputStream.client |
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.atomic.AtomicReference<FtpClient> |
FtpFileSystem.idleClient |
Modifier and Type | Method and Description |
---|---|
FtpClient |
FtpFileSystem.getClient()
Creates an FTP client to use.
|
Modifier and Type | Method and Description |
---|---|
private void |
FtpFileSystem.closeConnection(FtpClient client)
Cleans up the connection to the server.
|
void |
FtpFileSystem.putClient(FtpClient client)
Returns an FTP client after use.
|
Constructor and Description |
---|
FtpFileSystem(GenericFileName rootName,
FtpClient ftpClient,
FileSystemOptions fileSystemOptions) |
FtpInputStream(FtpClient client,
java.io.InputStream in) |
FtpOutputStream(FtpClient client,
java.io.OutputStream outstr) |