Zhone 5100 参照マニュアル

ページ / 186
Navigation, memory, and file management 
Vpacket 5100/6100 Series Reference Manual
                                                                                                   
19
Example:
In this example, the file named “main.cfg” is deleted.
Displaying directory contents
The directory structure of the 5100/6100 VDR follows the MS-DOS structure. The contents of 
each directory allow you to view the contents of the current directory and one level above where 
you are in the directory tree. 
You can create and delete directories for storage purposes (see rmdir and mkdir). You can view 
the contents of a directory by issuing the dir command.
Syntax: dir
Example:
In this example, the contents of the directory named “maincode” are shown.
Downloading 
You can copy a file from the network/host to the 5100/6100 VDR by issuing the download 
command. This file can be text, the current operating code (an image file with the suffix *.bin) or 
a configuration file ( *.cfg).
Syntax: download [server <server IP address>] [filename on server] [filename on VDR] 
[username <user>] [password <password>] [binary] [reboot] [configuration] 
[image <1 | 2>] [requestactive]
Arguments:
server <server IP address>     (optional) defaults to the FTP server IP address configured in 
“set ftp”
filename on server 
(optional) defaults to the filename given in “set ftp”
filename on the VDR
(optional) if not specified, the same filename as on the server. If 
the filename on the 5100/6100 VDR is to be different both 
filename must be specified.
VPacket# delete main.cfg
VPacket#
Vpacket# dir
Directory of \maincode
3/20/2001  15:57:36    <DIR>                                    .
3/20/2001  15:57:36    <DIR>                                    ..
 5/28/2002  18:39: 6                                      3123756 s020101.bin
  3 File(s)            3123756 bytes
Remaining file system bytes: 4910592
Vpacket#