The ftp-password command configures the password for logging in to the FTP server.
The undo ftp-password command deletes the configured password.
| Parameter | Description | Value |
|---|---|---|
| password | Specifies the password for logging in to the FTP server. | The value is a string of 1 to 32 or 32 to 68 case-sensitive characters, spaces not supported. The password is saved in ciphertext.
|
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.
To ensure test security and prevent unauthorized users from accessing the network, you need to enable identity authentication. The ftp-password command can be used to set the specified user and password. Only the user who enters the authorized user name and password is authorized to access the network.
Prerequisites
Before using the ftp-password command, run the test-type command to specify the type of the test instance as ftp.
Precautions
The password of a running test instance cannot be changed.