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.
| Parameter | Description | Value |
|---|---|---|
directory |
Specifies a directory that an administrator accesses or manages. |
The value is a string of 1 to 64 characters. |
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.