-rwxrwxrwx
drwxrwxrwx
drwxrwxrwx
-rwxrwxrwx
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.
sftp-client> put temp.c temp1.c
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
225 Sep 28 08:28 pub1
0 Sep 28 08:24 new1
0 Sep 28 08:18 new2
225 Sep 28 08:30 pub2
286