2202 CHAPTER 143: SFTP CONFIGURATION COMMANDS
cdup
Syntax cdup
View SFTP client view
Parameter None
Description Use the
cdup command to return to the upper-level directory.
Example # From the current working directory /new1, return to the upper-level directory.
sftp-client> cdup
Current Directory is:
/
delete
Syntax delete remote-file&<1-10>
View SFTP client view
Parameter remote-file&<1-10>: Name of a file on the server. &<1-10> means that you can
provide up to 10 filenames, which are separated by space.
Description Use the
delete command to delete a specified file from a server.
This command functions as the remove command.
Example # Delete file temp.c from the server.
sftp-client> delete temp.c
The following files will be deleted:
/temp.c
Are you sure to delete it? [Y/N]:y
This operation may take a long time.Please wait...
File successfully Removed
dir
Syntax dir [ -a | -l ] [ remote-path ]
View SFTP client view
Parameter -a: Displays the filenames or the folder names of the specified directory.