3com MSR 20-20 참조 매뉴얼

다운로드
페이지 2742
2377
Description
Use the delete command to delete a specified file on the remote FTP server.
To do this, you must be a user with the delete permission on the FTP server.
Example
# Delete file temp.c.
[ftp] delete temp.c
250 DELE command successful. 
dir
Syntax
dir [ remotefile [ localfile ] ]
View
FTP client view
Parameter
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 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.
n
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, the date they were created.
Example
# View the information of the file ar-router.cfg, and save the result to aa.txt.
[ftp] dir ar-router.cfg aa.txt
227 Entering Passive Mode (192,168,1,50,17,158).
125 ASCII mode data connection already open, transfer starting for a
r-router.cfg.
....226 Transfer complete.
FTP: 67 byte(s) received in 4.600 second(s), 14.00 byte(s)/sec.  
# View the content of aa.txt
[ftp] quit
<Sysname> more aa.txt
-rwxrwxrwx
1 noone
nogroup
3077 Jun 20 15:34 ar-router.cfg 
disconnect
Syntax
disconnect