424 CHAPTER 12: USING SYSTEM MANAGEMENT COMMANDS
Example
Terminate connection with the remote FTP Server and stay in FTP Client view.
[ftp]close
delete Syntax
delete remotefile
View
FTP Client view
Parameter
remotefile:
File name.
Description
Use the delete command to delete the specified file.
This command is used to delete a file.
Example
Delete the file temp.c
[ftp]delete temp.c
dir Syntax
dir [
filename
[
localfile
]]
View
FTP Client view
Parameter
filename
: File name to be queried.
localfile
: Saved local file name.
Description
Use the dir command to query a specified file.
If no parameter of this command is specified, then all the files in the directory will
be displayed.
Example
Query the file temp.c and save the results in the file temp1.
[ftp]dir temp.c temp1
disconnect Syntax
disconnect
View
FTP Client view