< Home

mkdir (FTP client view)

Function

The mkdir command creates a directory on the remote FTP server.

Format

mkdir remote-directory

Parameters

Parameter Description Value

remote-directory

Specifies the directory name.

The value is a string of 1 to 64 characters.

Views

FTP client view

Default Level

3: Management level

Usage Guidelines

After the command is run, the directory that is created exists on the FTP server.

Example

# Create a directory test at the remote FTP server.

<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] mkdir test
257 "hda1:/test" new directory created.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >