Package | Description |
---|---|
org.apache.commons.net.ftp |
FTP and FTPS support classes
|
Modifier and Type | Method | Description |
---|---|---|
static FTPCmd |
FTPCmd.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static FTPCmd[] |
FTPCmd.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|