Zhone 5100 参照マニュアル

ページ / 186
Navigation, memory, and file management 
Vpacket 5100/6100 Series Reference Manual
                                                                                                   
21
Example:
In this example, the 5100/6100 VDR accepted the request to begin a script with echo enabled.
Using FTP
You can execute a script file via FTP by issuing the ftp command.
Syntax: ftp <filename> [echo]
Arguments:
filename
an up to 8-character name with a 3-character extension that contain FTP options
echo
(optional) echo parameter displays the commands as they are executed
Example:
In this example, as the commands are executed, they will display because the echo option is 
enabled.
Creating a directory
You can create a directory for storage purposes by issuing the mkdir command.
Syntax: mkdir <directoryname>
Argument:
directoryname
an up to 8-character name that will be the name of the new 
directory
Example:
In this example, a directory named “myfiles” is created.
VPacket# execute myscript.txt echo
VPacket#
VPacket# ftp myfile.txt echo
VPacket#
VPacket# mkdir myfiles
Directory myfiles created
VPacket#