< Home

mkdir (SFTP client view)

Function

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

Format

mkdir remote-directory

Parameters

Parameter Description Value

remote-directory

Specifies the directory on the SFTP server.

The value is a character string. The length of the absolute path is 1 to 64 characters. The length of each directory is no more than 15 characters.

Views

SFTP client view

Default Level

2: Configuration level

Usage Guidelines

After creating a directory by using this command, you can run the dir/ls (SFTP client view) command to view its information.

Example

# Create a directory on the SSH server.

<sysname> system-view
[sysname] sftp 10.1.1.1 
Please input the username: client001
Trying 10.1.1.1 ...
Press CTRL+K to abort
Enter password:   
sftp-client> mkdir ssh
Info: Succeeded in creating a directory.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >