Description
Example
mkdir
Syntax
View
Parameter
Description
Example
put
Syntax
View
Parameter
-l: Displays in list form detailed information of the files and folder of the specified
directory
remote-path: Name of the directory to be queried.
Use the
command to display file and folder information under a specified
ls
directory.
With the -a and -l keyword not specified, the command displays detailed
information of files and folder under the specified directory in a list form.
With the remote-path not specified, the command displays the file and folder
information of the current working directory.
This command functions as the dir command.
# Display in a list form the detailed file and folder information under the current
working directory.
sftp-client> ls
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
drwxrwxrwx
1 noone
drwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
mkdir remote-path
SFTP client view
remote-path: Name for the directory on a remote SFTP server.
Use the
command to create a directory on a remote SFTP server.
mkdir
# Create a directory named test on the remote SFTP server.
sftp-client> mkdir test
New directory created
put local-file [ remote-file ]
SFTP client view
local-file: Name of a local file.
nogroup
1759 Aug 23 06:52 config.cfg
nogroup
225 Aug 24 08:01 pubkey2
nogroup
283 Aug 24 07:39 pubkey1
nogroup
225 Sep 28 08:28 pub1
nogroup
0 Sep 28 08:24 new1
nogroup
0 Sep 28 08:18 new2
nogroup
225 Sep 28 08:30 pub2
2205