The ftp-filename command configures the file name and file path for an NQA FTP test instance.
The undo ftp-filename command deletes the file name and file path for an NQA FTP test instance.
By default, no file name and file path are configured.
Parameter | Description | Value |
---|---|---|
file-name | Specifies the name and path of the operation file in an FTP test instance. | The value is a string of 1 to 230 characters. |
The ftp-filename command is valid only for FTP test instances.
You cannot change the file path and file name of a running test instance.
If no file path is specified, the system searches for the file in the current path.
The file name cannot end with any forward slashes (/) or backward slashes (\).
The file name includes but is not limited to the extension name, such as .txt.
Various FTP servers may support files with the file name in different length ranges. Before you configure this command, ensure that the target FTP server supports the length of the specified file name. Otherwise, NQA test results may fail to be transmitted using FTP.