R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
212
mkdir
Syntax
mkdir remote-path
View
SFTP client view
Default level
3: Manage level
Parameters
remote-path: Name for the directory on a remote SFTP server.
Description
Use mkdir 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
put
Syntax
put local-file [ remote-file ]
View
SFTP client view
Default level
3: Manage level
Parameters
local-file: Name of a local file.
remote-file: Name for the file on a remote SFTP server.
Description
Use put 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 ---> Remote file: /temp1.c
Uploading file successfully ended