Package | Description |
---|---|
org.apache.commons.net.ftp |
FTP and FTPS support classes
|
Modifier and Type | Method and Description |
---|---|
static FTPCmd |
FTPCmd.valueOf(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 and Description |
---|---|
protected Socket |
FTPClient._openDataConnection_(FTPCmd command,
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,
String args)
Sends an FTP command to the server, waits for a reply and returns the
numerical response code.
|
Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.