Package | Description |
---|---|
org.dromara.hutool.extra.ftp |
基于Apache Commons Net封装的FTP工具
|
Modifier and Type | Method and Description |
---|---|
static FtpMode |
FtpMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FtpMode[] |
FtpMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
CommonsFtp |
CommonsFtp.init(FtpConfig config,
FtpMode mode)
初始化连接
|
static CommonsFtp |
CommonsFtp.of(Connector connector,
Charset charset,
String serverLanguageCode,
String systemKey,
FtpMode mode)
构造
|
CommonsFtp |
CommonsFtp.setMode(FtpMode mode)
设置FTP连接模式,可选主动和被动模式
|
Constructor and Description |
---|
CommonsFtp(FtpConfig config,
FtpMode mode)
构造
|
Copyright © 2025. All rights reserved.