Manually releasing FTP connections
Task
Manually release FTP connections.
Displaying and maintaining the FTP server
Execute display commands in any view.
Task
Display FTP server configuration and status information.
Display detailed information about online FTP users.
FTP server configuration example in standalone mode
Network requirements
On the device, create a local user account with the username abc and password 123456 and enable the
FTP server function.
From the PC, use the user account to log in to the FTP server and do the following:
Upload the file temp.bin from the FTP client to the FTP server.
•
Download the configuration file startup.cfg from the FTP server to the FTP client for backup.
•
Figure 23 Network diagram
Configuration procedure
1.
Configure IP addresses as shown in
(Details not shown.)
2.
Configure the device (FTP server):
# Create local user account abc and set the password to 123456.
<Sysname> system-view
[Sysname] local-user abc class manage
[Sysname-luser-manage-abc] password simple 123456
# Assign the user role network-admin to the user and set the working directory to the Flash root
directory of the MPU.
Command
free ftp user username
Command
display ftp-server
display ftp-user
Figure
23, and make sure the device and PC can reach other.
66