cdup
Use cdup to return to the upper-level directory.
Syntax
cdup
Views
SFTP client view
Default command level
3: Manage level
Examples
# Return to the upper-level directory from the current working directory /new1.
sftp-client> cdup
Current Directory is:
/
delete
Use delete to delete files from a server.
Syntax
delete remote-file&<1-10>
Views
SFTP client view
Default command level
3: Manage level
Parameters
remote-file&<1-10>: Specifies one or more files to delete on the server. &<1-10> means that you can
provide up to 10 filenames, which are separated by space.
Usage guidelines
This command functions as the remove command.
Examples
# 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 might take a long time. Please wait...
File successfully Removed
dir
Use dir to display information about the files and sub-directories under the specified directory.
339