< Home

set default ftp-directory

Function

The set default ftp-directory command sets the default directory for FTP administrators.

The undo set default ftp-directory command cancels the setting of the default directory for FTP administrators.

Format

set default ftp-directory directory

undo set default ftp-directory

Parameters

Parameter Description Value

ftp-directory directory

Specifies the default directory for FTP administrators.

The value is a string of 1 to 64 characters without spaces.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

There is no default directory for FTP administrators.

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.

Example

# Set the default FTP directory to hda1:.

<sysname> system-view
[sysname] set default ftp-directory hda1:
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >