146To do… Use the command… Remarks7. Create a new directory on theremote SFTP server mkdir remote-path Optional8. Delete a directory from theSFTP server rmdir remote-path&<1-10> OptionalWorking with SFTP filesSFTP file operations include:• Changing the name of a file• Downloading a file• Uploading a file• Displaying a list of the files• Deleting a fileFollow these steps to work with SFTP files:To do… Use the command… Remarks1. Enter SFTP client viewsftp [ ipv6 ] server [ port-number] [ identity-key { dsa | rsa } |prefer-ctos-cipher { 3des |aes128 | des } | prefer-ctos-hmac { md5 | md5-96 | sha1| sha1-96 } | prefer-kex { dh-group-exchange | dh-group1 | dh-group14 } |prefer-stoc-cipher { 3des |aes128 | des } | prefer-stoc-hmac { md5 | md5-96 | sha1| sha1-96 } ] *RequiredExecute the command in user view.2. Change the name of aspecified file or directory on theSFTP serverrename old-name new-name Optional3. Download a file from theremote server and save itlocallyget remote-file [ local-file ] Optional4. Upload a local file to theremote SFTP server put local-file [ remote-file ] Optional5. Display the files under aspecified directorydir [ -a | -l ] [ remote-path ] OptionalThe dir command functions as thels command.ls [ -a | -l ] [ remote-path ]6. Delete a file from the SFTPserverdelete remote-file&<1-10> OptionalThe delete command functions asthe remove command.remove remote-file&<1-10>