| Package | Description |
|---|---|
| org.aoju.bus.extra.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 |
|---|---|
FtpUtils |
FtpUtils.init(String host,
int port,
String user,
String password,
FtpMode mode)
初始化连接
|
FtpUtils |
FtpUtils.setMode(FtpMode mode)
设置FTP连接模式,可选主动和被动模式
|
| Constructor and Description |
|---|
FtpUtils(String host,
int port,
String user,
String password,
Charset charset,
FtpMode mode)
构造
|
Copyright © 2019. All rights reserved.