Five pictures to solve FTP

Five pictures to solve FTP

FTP Principle and Configuration

FTP is a protocol used to transfer files. Using FTP to achieve remote file transfer can also ensure the reliability and efficiency of data transmission.

Applications of FTP

Deploy an FTP server in the enterprise network and configure the network device as an FTP client, then you can use FTP to back up or update VRP files and configuration files. You can also configure the network device as an FTP server and save the device's log files to a host for easy viewing.

FTP transfer mode

FTP supports two transmission modes when transferring data: ASCII mode and binary mode. ASCII mode is used to transfer text. The characters on the sender are converted into ASCII code format before transmission, and then converted into characters after receiving them. Binary mode is often used to send image files and program files. The sender can transmit these files without converting the format.

FTP server configuration

ARG3 series routers and X7 series switches can provide FTP function. Run the ftp server enable command to enable the FTP function. Run the set default ftp-directory command to set the default working directory for FTP users.

When configuring an FTP server, you can use AAA to configure login accounts and access rights for each user. Use the aaa command to enter the AAA view.

 local - user user - name { access - limit max - number | ftp - directory directory | idle - timeout minutes [ seconds ] | password cipher password [ opt ] | privilege level level | state { active | block } } * The command is used to create a local user and configure various parameters for the local user.
user - name specifies the user name.
The local - user huawei service - type ftp command configures the access type of the local user to ftp.
ftp - directory specifies the directory that FTP users can access. If you do not configure the directory that FTP users can access, FTP users cannot log in to the device.
access - limit specifies the maximum number of connections that can be established by the specified user name.
idle - timeout specifies the idle timeout period for the user.
The privilege level specifies the priority of the user.

FTP Client Configuration

The ftp command is used to establish a control connection with a remote FTP server and enter the FTP client view. The binary command is used to set the file transfer mode to Binary mode when the device is used as an FTP client. By default, the file transfer mode is ASCII mode. The get command is used to download files from a remote FTP server and save them locally.

<<:  Higher bandwidth, faster bandwidth... Wi-Fi 6 is so "6", why not change your router soon?

>>:  3G in the US is about to be phased out! But how difficult is it to reduce the frequency of 2G/3G in China?

Recommend

SPI subsystem SPI spec

1.SPI hardware SPI: Serial Peripheral Interface, ...

IoT security and vulnerabilities that 5G will bring

Simply put, the Internet of Things is a network o...

Unleashing the Potential of NFV

Network Function Virtualization (NFV) held great ...

Talk about TCP long connection and heartbeat

[[254870]] 1 Introduction Many Java programmers m...

Challenges remain in the large-scale development stage of 5G applications

A recent investigation by reporters found that in...

2018 Trend Forecast and Future Outlook

1. About safety 1. Connected cars are more than j...

SD-WAN (Part 1)

The concept of SDN has been proposed for more tha...

Three major challenges faced by enterprise infrastructure modernization

Currently, business development often leads to a ...

How Industry 4.0 and 5G will change supply chain visibility

As the pandemic highlights the serious inefficien...