程序包 | 说明 |
---|---|
com.fr.ftp.client |
FTP and FTPS support classes
|
限定符和类型 | 方法和说明 |
---|---|
static FTPCmd |
FTPCmd.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static FTPCmd[] |
FTPCmd.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
protected java.net.Socket |
FTPClient._openDataConnection_(FTPCmd command,
java.lang.String arg)
Establishes a data connection with the FTP server, returning
a Socket for the connection if successful.
|
int |
FTP.sendCommand(FTPCmd command)
Sends an FTP command to the server, waits for a reply and returns the
numerical response code.
|
int |
FTP.sendCommand(FTPCmd command,
java.lang.String args)
Sends an FTP command to the server, waits for a reply and returns the
numerical response code.
|