Using the device as an ftp server, Configuring ftp server operating parameters – H3C Technologies H3C SecPath F1000-E User Manual
Page 218
207
230 Logged in successfully
# Set the file transfer mode to binary to transmit boot file.
[ftp] binary
200 Type set to I.
# Download the boot file newest.bin from PC to the SecPath.
[ftp] get newest.bin
# Upload the configuration file config.cfg of the SecPath to the server for backup.
[ftp] ascii
[ftp] put config.cfg back-config.cfg
227 Entering Passive Mode (10,1,1,1,4,2).
125 ASCII mode data connection already open, transfer starting for /config.cfg.
226 Transfer complete.
FTP: 3494 byte(s) sent in 5.646 second(s), 618.00 byte(s)/sec.
[ftp] bye
# Specify newest.bin as the main boot file to be used at the next startup.
# Reboot the firewall, and the boot file is updated at the system reboot.
CAUTION:
The boot file used at the next startup must be saved under the root directory of the storage medium. You
can copy or move a file to the root directory of the storage medium. For more information about the
boot-loader command, see "Upgrading software."
Using the device as an FTP server
Configuring FTP server operating parameters
The FTP server uses one of the two modes to update a file when you upload the file (use the put command)
to the FTP server:
•
In fast mode, the FTP server starts writing data to the storage medium after a file is transferred to the
memory. This prevents the existing file on the FTP server from being corrupted in the event that
anomaly, power failure for example, occurs during a file transfer.
•
In normal mode, the FTP server writes data to the storage medium while receiving data. This means
that any anomaly, power failure for example, during file transfer might result in file corruption on the
FTP server. This mode, however, consumes less memory space than the fast mode.
To configure the FTP server:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable the FTP server.
ftp server enable
Disabled by default.
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS