Command Manual – SSH
H3C S7500E Series Ethernet Switches
1.2.10 mkdir
Syntax
mkdir remote-path
View
SFTP client view
Parameters
remote-path: Name for the directory on a remote SFTP server.
Description
Use the mkdir command to create a directory on a remote SFTP server.
Examples
# Create a directory named test on the remote SFTP server.
sftp-client> mkdir test
New directory created
1.2.11 put
Syntax
put local-file [ remote-file ]
View
SFTP client view
Parameters
local-file: Name of a local file.
remote-file: Name for the file on a remote SFTP server.
Description
Use the put command to upload a local file to a remote SFTP server.
If you do not specify the remote-file argument, the file will be saved remotely with the
same name as the local one.
Examples
# Upload local file temp.c to the remote SFTP server and save it as temp1.c.
sftp-client> put temp.c temp1.c
Local file:temp.c --->
Uploading file successfully ended
Chapter 1 SSH Configuration Commands
Remote file: /temp1.c
1-35