FTP for Linux basic services

Source: Internet
Author: User
Tags file transfer protocol what is ftp

1. What is FTP

FTP is referred to as File Transfer protocol and can be used for file sharing with remote computers. The protocol uses the TCP protocol, the FTP service port number is 21, the data port is 20. Typically, users who transfer files need to be authenticated before they can log on to the Web site to access remote server files. Most FTP servers often provide a guest's public account to allow users without a remote server to access the FTP server. The working process is as follows:

(1) The client makes a connection request to the server, while the client system opens a port greater than 1024 to wait for a server connection (such as 1028 port).

(2) The FTP server 21 port hears the request, then client 1028 will establish an FTP session connection between the server 21 port.

(3) When data transfer is required, the client opens a port greater than 1024 (for example, 1027 port) to connect to the server's 20 port and transfers data between the two ports until the two ports are automatically closed after the data transfer is complete.

(4) When the client and server are disconnected, previously dynamically allocated ports on the client are automatically freed.


This article is from the "11771572" blog, please be sure to keep this source http://11781572.blog.51cto.com/11771572/1911682

FTP for Linux basic services

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.