F3215-HP Load Balancing Module Security Command Reference-6PW101
203
-l: Displays in a list form detailed information of the files and folders of the specified directory.
remote-path: Name of the directory to be queried.
Usage guidelines
With the –a and –l keywords not specified, the command displays detailed information of files and
folders under the specified directory in the form of a list.
With the remote-path argument not specified, the command displays the file and folder information
under the current working directory.
This command functions as the dir command.
Examples
# Display detailed information about files and folders under the current working directory in the form of
a list.
sftp-client> ls
-rwxrwxrwx 1 noone nogroup 1759 Aug 23 06:52 config.cfg
-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
Use mkdir to create a directory on the SFTP server.
Syntax
mkdir remote-path
Views
SFTP client view
Default command level
3: Manage level
Parameters
remote-path: Name for the directory on the SFTP server.
Examples
# Create a directory named test on the SFTP server.
sftp-client> mkdir test
New directory created
put
Use put to upload a local file to an SFTP server.
Syntax
put local-file [ remote-file ]