Chapter 35 File Manager
35.5 File Manager Command Example
This example saves a back up of the current configuration before applying a shell script file.
Router(config)# copy running-config /conf/backup.conf
Router(config)# run /script/vpn_setup.zysh
35.6 FTP File Transfer
You can use FTP to transfer files to and from the ZyWALL for advanced maintenance and
support.
35.6.1 Command Line FTP File Upload
1 Connect to the ZyWALL.
2 Enter "bin" to set the transfer mode to binary.
3 You can upload the firmware after you log in through FTP. To upload other files, use
"cd" to change to the corresponding directory.
4 Use "put" to transfer files from the computer to the ZyWALL.
In the conf directory, use "put config.conf today.conf" to upload the configuration file
(config.conf) to the ZyWALL and rename it "today.conf".
"put 1.00(XL.0).bin" transfers the firmware (1.00(XL.0).bin) to the ZyWALL.
The firmware update can take up to five minutes. Do not turn off or reset the
ZyWALL while the firmware update is in progress! If you lose power during the
firmware upload, you may need to refer to
the firmware.
35.6.2 Command Line FTP Configuration File Upload Example
The following example transfers a configuration file named tomorrow.conf from the computer
and saves it on the ZyWALL as next.conf.
Uploading a custom signature file named "custom.rules", overwrites all custom
signatures on the ZyWALL.
1.
When you upload a custom signature, the ZyWALL appends it to the existing custom signatures stored in the
"custom.rules" file.
278
1
For example:
Section 35.8 on page 281
ZyWALL (ZLD) CLI Reference Guide
to recover