Home > Operation and Maintenance > Linux Operation and Maintenance > What is the linux ftp port number?

What is the linux ftp port number?

青灯夜游
Release: 2023-02-17 11:07:28
Original
3468 people have browsed it

There are two linux ftp port numbers: "20" and "21"; port 20 is used to transmit data, and port 21 is used to transmit control information. Whether ftp uses 20 as the port for data transmission is related to the transmission mode used by FTP. If active mode is used, the data transmission port is 20; if passive mode is used, the final port to be used must be decided through negotiation between the server and the client.

What is the linux ftp port number?

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

File Transfer Protocol (FTP) is a set of standard protocols for file transfer on the network.

FTP allows users to communicate with another host through file operations (such as adding, deleting, modifying, checking, transferring files, etc.). However, users do not actually log in to the computer they want to access and become a full user. They can use FTP programs to access remote resources, allowing users to transfer files back and forth, manage directories, access emails, etc., even though the computers on both sides may have different configurations. operating system and file storage method.

Port number of ftp in Linux

By default, the FTP protocol uses two TCP ports, 20 and 21, of which 20 is used to transmit data and 21 Used to transmit control information.

However, whether to use 20 as the port for data transmission is related to the transmission mode used by FTP. If active mode is used, the data transmission port is 20; if passive mode is used, the specific port used ultimately depends on the server side. Negotiate with the client to decide.

What is the linux ftp port number?

Extended information:

Like most Internet services, FTP is also a client/server system. Users connect to a server program running on a remote computer through a client program.

Provide services in accordance with the FTP protocol. The computer that transfers files is the FTP server, and the computer that connects to the FTP server and follows the FTP protocol to transfer files with the server is the FTP client.

To connect to the FTP server, users must use FTP client software. Usually Windows comes with the "ftp" command, which is a command line FTP client program.

Other commonly used FTP client programs include FileZilla, CuteFTP, Ws_FTP, Flashfxp, LeapFTP, etc.

1. Login to FTP server

  • Anonymous user: FTP Password: FTP

  • User: ANONYMOUS Password: any electronic Email

2. Display file information: DIR/LS

3. Download file: GET file name (download to the current directory)

4. Upload file: PUT file name

5, multiple file download: MGET

6, multiple file upload: MPUT

7, exit: BYE

8 , Help: HELP

Related recommendations: "Linux Video Tutorial"

The above is the detailed content of What is the linux ftp port number?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template