Package | Description |
---|---|
cn.orionsec.kit.net.ftp.client | |
cn.orionsec.kit.net.ftp.client.config | |
cn.orionsec.kit.net.ftp.client.instance | |
cn.orionsec.kit.net.ftp.client.pool |
Modifier and Type | Method and Description |
---|---|
static FtpClientPool |
Ftps.createClientPool(FtpConfig ftpConfig)
创建 FTP 连接池
|
static FtpClientPool |
Ftps.createClientPool(FtpConfig ftpConfig,
int size)
创建 FTP 连接池
|
static IFtpInstance |
Ftps.createInstance(FtpConfig ftpConfig)
创建 FTP 实例
|
Modifier and Type | Class and Description |
---|---|
class |
FtpsConfig
FTP ssl 连接配置类
|
Modifier and Type | Method and Description |
---|---|
FtpConfig |
FtpConfig.auth(String username,
String password)
认证
|
FtpConfig |
FtpConfig.rootDir(String base)
设置远程根目录
|
Modifier and Type | Field and Description |
---|---|
protected FtpConfig |
BaseFtpInstance.config
FTP 配置
|
Modifier and Type | Method and Description |
---|---|
FtpConfig |
IFtpInstance.getConfig()
获取配置
|
FtpConfig |
BaseFtpInstance.getConfig() |
Constructor and Description |
---|
BaseFtpInstance(org.apache.commons.net.ftp.FTPClient client,
FtpConfig config) |
FtpInstance(org.apache.commons.net.ftp.FTPClient client,
FtpConfig config) |
Modifier and Type | Method and Description |
---|---|
FtpConfig |
FtpClientPool.getConfig()
获取 FTP 配置文件
|
FtpConfig |
FtpClientFactory.getConfig()
获取配置项
|
Constructor and Description |
---|
FtpClientFactory(FtpConfig config) |
Copyright © 2024. All rights reserved.