Package | Description |
---|---|
cn.hutool.extra.ftp |
基于Apache Commons Net封装的FTP工具
|
cn.hutool.extra.ssh |
Jsch封装,包括端口映射、SFTP封装等,入口为JschUtil
|
Modifier and Type | Field and Description |
---|---|
protected FtpConfig |
AbstractFtp.ftpConfig |
Modifier and Type | Method and Description |
---|---|
static FtpConfig |
FtpConfig.create() |
FtpConfig |
FtpConfig.setCharset(Charset charset) |
FtpConfig |
FtpConfig.setConnectionTimeout(long connectionTimeout) |
FtpConfig |
FtpConfig.setHost(String host) |
FtpConfig |
FtpConfig.setPassword(String password) |
FtpConfig |
FtpConfig.setPort(int port) |
FtpConfig |
FtpConfig.setServerLanguageCode(String serverLanguageCode) |
FtpConfig |
FtpConfig.setSoTimeout(long soTimeout) |
FtpConfig |
FtpConfig.setSystemKey(String systemKey) |
FtpConfig |
FtpConfig.setUser(String user) |
Modifier and Type | Method and Description |
---|---|
Ftp |
Ftp.init(FtpConfig config,
FtpMode mode)
初始化连接
|
Constructor and Description |
---|
AbstractFtp(FtpConfig config)
构造
|
Ftp(FtpConfig config,
FtpMode mode)
构造
|
Modifier and Type | Method and Description |
---|---|
void |
Sftp.init(FtpConfig config)
初始化
|
Constructor and Description |
---|
Sftp(FtpConfig config)
构造
|
Sftp(FtpConfig config,
boolean init)
构造
|
SshjSftp(FtpConfig config)
构造
|
Copyright © 2024. All rights reserved.