3com 8807 User Guide

Page of 883
SFTP Service
787
-rwxrwxrwx   1 noone    nogroup       225 Aug 24 08:01 pubkey2
 
-rwxrwxrwx   1 noone    nogroup       283 Aug 24 07:39 pubkey1
 
drwxrwxrwx   1 noone    nogroup         0 Sep 01 06:22 new
 
-rwxrwxrwx   1 noone    nogroup       225 Sep 01 06:55 pub
 
-rwxrwxrwx   1 noone    nogroup         0 Sep 01 08:00 z
 
sftp-client> delete z
 
Remove this File?(Y/N)
 
flash:/zy
 
File successfully Removed
 
sftp-client> dir
 
-rwxrwxrwx   1 noone    nogroup      1759 Aug 23 06:52 vrpcfg.cfg
 
-rwxrwxrwx   1 noone    nogroup       225 Aug 24 08:01 pubkey2
 
-rwxrwxrwx   1 noone    nogroup       283 Aug 24 07:39 pubkey1
 
drwxrwxrwx   1 noone    nogroup         0 Sep 01 06:22 new
 
-rwxrwxrwx   1 noone    nogroup       225 Sep 01 06:55 pub 
# Create a new directory new1, and check if the new directory has been created 
successfully.
sftp-client> mkdir new1
 
New path created
 
sftp-client> dir
 
-rwxrwxrwx   1 noone    nogroup      1759 Aug 23 06:52 vrpcfg.cfg
 
-rwxrwxrwx   1 noone    nogroup       225 Aug 24 08:01 pubkey2
 
-rwxrwxrwx   1 noone    nogroup       283 Aug 24 07:39 pubkey1
 
drwxrwxrwx   1 noone    nogroup         0 Sep 01 06:22 new
 
-rwxrwxrwx   1 noone    nogroup       225 Sep 01 06:55 pub
 
drwxrwxrwx   1 noone    nogroup         0 Sep 02 06:30 new1 
# Change the directory name new1 to new2, and check if the directory name has 
been changed successfully.
sftp-client> rename new1 new2
 
sftp-client> dir
 
-rwxrwxrwx   1 noone    nogroup      1759 Aug 23 06:52 vrpcfg.cfg
 
-rwxrwxrwx   1 noone    nogroup       225 Aug 24 08:01 pubkey2
 
-rwxrwxrwx   1 noone    nogroup       283 Aug 24 07:39 pubkey1
 
drwxrwxrwx   1 noone    nogroup         0 Sep 01 06:22 new
 
-rwxrwxrwx   1 noone    nogroup       225 Sep 01 06:55 pub
 
drwxrwxrwx   1 noone    nogroup         0 Sep 02 06:33 new2 
# Download file pubkey2 from the server to a local device, and change the file 
name to pu.
sftp-client> get pubkey2 pu
 
Downloading file successfully ended 
# Upload local file pu to the server, change the file name to puk, and check if the 
operations are successful.
sftp-client> put pu puk
 
Uploading file successfully ended
 
sftp-client> dir
 
-rwxrwxrwx   1 noone    nogroup      1759 Aug 23 06:52 vrpcfg.cfg
 
-rwxrwxrwx   1 noone    nogroup       225 Aug 24 08:01 pubkey2
 
-rwxrwxrwx   1 noone    nogroup       283 Aug 24 07:39 pubkey1
 
drwxrwxrwx   1 noone    nogroup         0 Sep 01 06:22 new