< Home

user (FTP client view)

Function

The user command changes the current FTP users and re-logs in to the FTP server.

Format

user user-name [ password ]

Parameters

Parameter Description Value

user-name

Specifies the login user name.

The name is a string of 1 to 253 characters.

password

Specifies the login password.

The value is a string of 1 to 16 characters.

Views

FTP client view

Default Level

3: Management level

Usage Guidelines

By using this command, the FW allows you to log in to an FTP server by using another user name without exiting from the FTP client view. The FTP connection that is created by running this command is the same as that is created by running the ftp command.

Example

# Log in to the FTP server with the user name tom and the password bjhw.

<sysname> ftp 10.1.1.1
Trying 10.1.1.1...
Press CTRL+K to abort
Connected to 10.1.1.1.
220 FTP service ready.
User (10.1.1.1: (none)):ftpuser
331 Password required for ftpuser
Enter password:
230 User logged in.  
[ftp] user tom 
331 Password required for tom.
Password:
230 User logged in.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >