261
-rwxrwxrwx 1 noone nogroup 225 Aug 24 08:01 pubkey2
-rwxrwxrwx 1 noone nogroup 283 Aug 24 07:39 pubkey1
-rwxrwxrwx 1 noone nogroup 225 Sep 28 08:28 pub1
drwxrwxrwx 1 noone nogroup 0 Sep 28 08:24 new1
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
Default level
3: Manage level
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
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 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
.