Chapter 34 File Manager
ZyWALL (ZLD) CLI Reference Guide
233
Figure 24 FTP Configuration File Upload Example
34.6.3 Command Line FTP File Download
1 Connect to the ZyWALL.
2 Enter “bin” to set the transfer mode to binary.
3 Use “cd” to change to the directory that contains the files you want to download.
4 Use “dir” or “ls” if you need to display a list of the files in the directory.
5 Use "get” to download files. For example:
“get vpn_setup.zysh vpn.zysh” transfers the vpn_setup.zysh configuration file on the
ZyWALL to your computer and renames it “vpn.zysh.”
34.6.4 Command Line FTP Configuration File Download Example
The following example gets a configuration file named today.conf from the ZyWALL and
saves it on the computer as current.conf.
C:\>ftp 192.168.1.1
Connected to 192.168.1.1.
220 FTP Server (ZyWALL) [192.168.1.1]
User (192.168.1.1:(none)): admin
331 Password required for admin.
Password:
230 User admin logged in.
ftp> cd conf
250 CWD command successful
ftp> bin
200 Type set to I
ftp> put tomorrow.conf next.conf
200 PORT command successful
150 Opening BINARY mode data connection for next.conf
226-Post action ok!!
226 Transfer complete.
ftp: 20231 bytes sent in 0.00Seconds 20231000.00Kbytes/sec.