HP 12500 Series Configuration Manual page 250

Routing
Table of Contents

Advertisement

# Add a directory named new1 and check if it has been created successfully.
sftp-client> mkdir new1
New directory created
sftp-client> dir
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
drwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
drwxrwxrwx
1 noone
# Rename directory new1 to new2 and check if the directory has been renamed successfully.
sftp-client> rename new1 new2
File successfully renamed
sftp-client> dir
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
drwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
drwxrwxrwx
1 noone
# Download the pubkey2 file from the server and save it as local file public.
sftp-client> get pubkey2 public
Remote
file:/pubkey2 --->
Downloading file successfully ended
# Upload the local file pu to the server, save it as puk, and check if the file has been uploaded
successfully.
sftp-client> put pu puk
Local file:pu --->
Uploading file successfully ended
sftp-client> dir
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
drwxrwxrwx
1 noone
drwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
sftp-client>
# Exit SFTP client view.
sftp-client> quit
Bye
Connection closed.
<SwitchA>
nogroup
1759 Aug 23 06:52 config.cfg
nogroup
225 Aug 24 08:01 pubkey2
nogroup
283 Aug 24 07:39 pubkey
nogroup
nogroup
225 Sep 01 06:55 pub
nogroup
nogroup
1759 Aug 23 06:52 config.cfg
nogroup
225 Aug 24 08:01 pubkey2
nogroup
283 Aug 24 07:39 pubkey
nogroup
nogroup
225 Sep 01 06:55 pub
nogroup
Local file: public
Remote file: /puk
nogroup
1759 Aug 23 06:52 config.cfg
nogroup
225 Aug 24 08:01 pubkey2
nogroup
283 Aug 24 07:39 pubkey
nogroup
nogroup
nogroup
283 Sep 02 06:35 pub
nogroup
283 Sep 02 06:36 puk
240
0 Sep 01 06:22 new
0 Sep 02 06:30 new1
0 Sep 01 06:22 new
0 Sep 02 06:33 new2
0 Sep 01 06:22 new
0 Sep 02 06:33 new2

Advertisement

Table of Contents
loading

Table of Contents