3com 8807 Reference Guide
966
C
HAPTER
56: SSH T
ERMINAL
S
ERVICE
C
ONFIGURATION
C
OMMANDS
drwxrwxrwx 1 noone nogroup 0 Sep 28 08:18 new2
-rwxrwxrwx 1 noone nogroup 225 Sep 28 08:30 pub2
mkdir
Syntax
mkdir remote-path
View
SFTP Client view
Parameter
remote-path: Name of a directory on the remote SFTP server.
Description
Use the mkdir command to create a directory on the remote SFTP server.
Example
# Create directory test on the remote SFTP server.
sftp-client> mkdir test
put
Syntax
put local-file [ remote-file ]
View
SFTP Client view
Parameter
local-file: Name of a local file.
remote-file: Name of a file on the remote SFTP server.
Description
Use the put command to upload a local file to the remote SFTP server.
By default, if no name of the file on the remote server is specified, it is assumed
that the file on the remote server has the same name as the local file.
that the file on the remote server has the same name as the local file.
Example
# Upload local file temp.c to the remote SFTP server and save it with the name
temp1.c.
temp1.c.
sftp-client> put temp.c temp1.c
pwd
Syntax
pwd
View
SFTP Client view
Parameter
None