The ftp-operation command sets the operation mode for an NQA FTP test instance.
The undo ftp-operation command restores the default operation mode of an NQA FTP test instance.
By default, the operation mode of an FTP test instance is get.
Parameter | Description | Value |
---|---|---|
get | Indicates that the client downloads a file from the server and the download speed is recorded. | - |
put | Indicates that the client uploads a local file or a created file to the server and the upload speed is recorded. | - |
Usage Scenario
In the FTP download test, the local device functions as an FTP client to download/upload the specified file from/to the FTP server. Statistics about each FTP phase are displayed, including the time to set up an FTP control connection and the time to transmit data.
The ftp-operation command can be used to specify the FTP operation mode as put or get. A connection with the FTP server is set up using the IP address, the user name, and the password of the FTP server, and the time to set up FTP connection is recorded.
Prerequisites
The type of the test instance has been set to ftp using the test-type command.
Precautions
The operation mode of a running test instance cannot be changed.