The set default ftp-directory command configures the default FTP working directory.
The undo set default ftp-directory command disables the default FTP working directory.
By default, no default FTP working directory is configured.
Parameter | Description | Value |
---|---|---|
directory | Specify the default FTP working directory. | The value is a string of 1 to 160 case-insensitive characters without spaces. |
Usage Scenario
You can run the set default ftp-directory command to configure a default FTP working directory for all FTP users at one time.
Precautions
You can run the local-user ftp-directory command to configure an authorized working directory for a local user.
If you have configured the FTP working directory by running the local-user ftp-directory command, you must use this FTP working directory.
If no FTP working directory is specified on the device, FTP users cannot log in to the device, and are prompted that the working directory is unauthorized.