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

What types of single-mode optical fiber are used?

What is single mode fiber? In fiber optic technol...

Comprehensive network monitoring tools to watch in 2020

Network monitoring is one of the most important n...

3 ways to do next generation network migration correctly

They say that in travel, getting to your destinat...

Record an incident where a network request connection timed out

[[338985]] This article is reprinted from the WeC...

A brief introduction to RPC services | Network protocols at different layers

Author: Wang Yuzhan JD Health Network Protocol Wh...

In 2020, China accounted for more than 85% of the world's 5G connections

The 2020 China 5G Terminal Global Innovation Summ...

5G-enabled IoT use cases

The commercial use of 5G provides enterprises wit...

New space age opens opportunities for edge computing

Satellite communications are starting to become f...

Learn about server network cards in one minute

I have already introduced to you what a server is...