3com S7906E Guía De Referencia

Descargar
Página de 2327
 
2-11 
Description 
Use the delete command to permanently delete a specified file on the remote FTP server, and the 
deleted file can never be restored. 
To do this, you must be a user with the delete permission on the FTP server. 
Examples 
# Delete file temp.c
[ftp] delete temp.c 
250 DELE command successful. 
dir 
Syntax 
dir [ remotefile [ localfile ] ] 
View 
FTP client view 
Default Level 
3: Manage level 
Parameters 
remotefile: Name of the file or directory on the remote FTP server. 
localfile: Name of the local file to save the displayed information. 
Description 
Use the dir command to view the detailed information of the files and subdirectories under the current 
directory on the remote FTP server. 
Use the dir remotefile command to display the detailed information of the specified file or directory on 
the remote FTP server. 
Use the dir remotefile localfile command to display the detailed information of the specified file or 
directory on the remote FTP server, and save the displayed information into a local file specified by the 
localfile argument. 
 
 
The Is command can only display the names of files and directories, whereas the dir  command can 
display other related information of the files and directories, such as the size, and the date they were 
created. 
 
Examples 
# View the information of the file ar-router.cfg, and save the result to aa.txt
[ftp] dir ar-router.cfg aa.txt