< Home

ftp-directory

Function

The ftp-directory command creates an FTP directory for an administrator account.

The undo ftp-directory command deletes an FTP directory for an administrator account.

Format

ftp-directory directory

undo ftp-directory

Parameters

Parameter Description Value

directory

Specifies a directory that an administrator accesses or manages.

The value is a string of 1 to 64 characters.

Views

Administrator view

Default Level

2: Configuration level

Usage Guidelines

By default, no FTP directory is configured for the administrator.

Before an FTP administrator uses FTP to access the FW, you must run the set default ftp-directory directory or ftp-directory directory command to specify an FTP directory for the administrator. Otherwise, the administrator cannot log in through FTP.

If both set default ftp-directory directory and ftp-directory directory commands are used to specify FTP directories for the administrator, the directory specified in the ftp-directory directory command takes effect.

Each account can be assigned a single FTP directory. If you repeat the ftp-directory command, the last configuration overrides the previous one.

If administrator FTP directories are changed, the FTP directories of online administrators are not changed, but for the administrators logging in after FTP directories are changed, the new FTP directories take effect.

The ftp-directory directory command takes effect only on local administrators.

Example

# Create a directory named hda1: for an administrator account named abc.

<sysname> system-view
[sysname] aaa
[sysname-aaa] manager-user abc
[sysname-aaa-manager-user-abc] ftp-directory hda1:
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >