< Home

put survey

Function

The put survey command sends the survey result to an FTP or SFTP server.

The undo put survey command cancels the sending of the survey result to an FTP or SFTP server.

Format

put survey ftp ip-address username user-name password password

put survey sftp ip-address [ port server-port ] username user-name password password

undo put survey

Parameters

Parameter Description Value
ip-address

Specifies the IP address of an FTP or SFTP server that receives the survey result.

It is in dotted decimal notation.

server-port

Specifies the port number of the SFTP server.

The value is 22 or an integer ranging from 1025 to 65535. The default value is 31922.

user-name

Specifies the user name for logging in to the FTP or SFTP server.

-

password

Specifies the password for logging in to the FTP or SFTP server.

-

Views

Portal authentication template view

Default Level

3: Management level

Usage Guidelines

Only the USG6510E/6510E-POE/6530E supports this command.

SFTP is more secure than FTP. Therefore, you are advised to use SFTP to transmit files.

Example

# Send the survey result to the SFTP server at 10.1.1.1.

<sysname> system-view
[sysname] user-manage portal-template template1
[sysname-portal-template-template1] put survey sftp 10.1.1.1 port 22 username abc password test@123
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >