Package | Description |
---|---|
org.dromara.hutool.extra.ftp |
基于Apache Commons Net封装的FTP工具
|
org.dromara.hutool.extra.ssh.engine.jsch |
Jsch(http://www.jcraft.com/jsch/) 引擎封装
|
org.dromara.hutool.extra.ssh.engine.sshj |
SSH 引擎封装
|
Modifier and Type | Field and Description |
---|---|
protected FtpConfig |
AbstractFtp.ftpConfig |
Modifier and Type | Method and Description |
---|---|
FtpConfig |
Ftp.getConfig()
获取FTP配置
|
FtpConfig |
AbstractFtp.getConfig() |
static FtpConfig |
FtpConfig.of()
创建默认配置
|
FtpConfig |
FtpConfig.setCharset(Charset charset)
设置编码
|
FtpConfig |
FtpConfig.setConnectionTimeout(long timeout)
|
FtpConfig |
FtpConfig.setConnector(Connector connector)
设置连接信息
|
FtpConfig |
FtpConfig.setServerLanguageCode(String serverLanguageCode)
设置服务器语言
|
FtpConfig |
FtpConfig.setSoTimeout(long soTimeout)
设置读取数据超时时间
|
FtpConfig |
FtpConfig.setSystemKey(String systemKey)
设置服务器系统关键词
|
Modifier and Type | Method and Description |
---|---|
CommonsFtp |
CommonsFtp.init(FtpConfig config,
FtpMode mode)
初始化连接
|
Constructor and Description |
---|
AbstractFtp(FtpConfig config)
构造
|
CommonsFtp(FtpConfig config,
FtpMode mode)
构造
|
Constructor and Description |
---|
JschSftp(FtpConfig config)
构造
|
JschSftp(FtpConfig config,
boolean init)
构造
|
Constructor and Description |
---|
SshjSftp(FtpConfig config)
构造
|
Copyright © 2025. All rights reserved.