Two ftp transmission modes

Source: Internet
Author: User
Tags ftp connection
Two ftp transmission modes: Linux Enterprise Application-Linux server application information. For details, refer to the following section. Because the two ftp transmission modes are always mixed, write down them for reference.

There are two FTP connection modes: PORT and PASV. The PORT mode is an active mode, and the PASV mode is a passive mode, which is relative to the server. In active mode, the server actively connects to a port greater than 1024 of the client with port 20 (this port is the port that the client tells the server through the port command ). In passive mode, the client uses a port greater than 1024 to connect to a port greater than 1024 of the server.

From the perspective of the C/S model, PORT is OUTBOUND for servers and PASV is INBOUND for servers. Pay special attention to this, especially in enterprises that use firewalls, this is critical. If an error is set, the customer will not be able to connect.
Related Article

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.