|
Apache JMeter 1.9 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.jmeter.protocol.ftp.sampler.FtpClient
Description of the Class
Nested Class Summary | |
class |
FtpClient.dataGrabber
grabs the data from the dataport |
Constructor Summary | |
FtpClient()
Constructor for the FtpClient object |
Method Summary | |
void |
connect(String host,
String username,
String password)
connect to server |
void |
disconnect()
disconnect from the server |
String |
get(String file)
get a file from the server |
static int |
getLower(int port)
Gets the Lower attribute of the FtpClient class |
static int |
getPort(int upper,
int lower)
Gets the Port attribute of the FtpClient class |
String |
getResponse()
get a file from the server |
static int |
getUpper(int port)
Gets the Upper attribute of the FtpClient class |
void |
send(String command)
send a command to the server |
void |
setPassive(boolean flag)
set passive mode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FtpClient()
Method Detail |
public void setPassive(boolean flag)
flag
- The new Passive valuepublic String getResponse() throws IOException
IOException
- Description of Exceptionpublic String get(String file) throws Exception
file
- Description of Parameter
Exception
- Description of Exceptionpublic void connect(String host, String username, String password) throws Exception
host
- Description of Parameterusername
- Description of Parameterpassword
- Description of Parameter
Exception
- Description of Exceptionpublic void disconnect()
public void send(String command) throws IOException
command
- Description of Parameter
IOException
- Description of Exceptionpublic static int getPort(int upper, int lower)
upper
- Description of Parameterlower
- Description of Parameter
public static int getUpper(int port)
port
- Description of Parameter
public static int getLower(int port)
port
- Description of Parameter
|
Apache JMeter 1.9 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |