From: http://www.phpweblog.net/killjin/archive/2008/01/06/2653.html
Directory
Opening RemarksBasicActive FTPExample of active FTPPassive FTPExample of Passive FTPSummaryReferences
Opening RemarksOne of the most common challenges when dealing
What is called PASV mode (passive mode transfer)? How did he work?FTP connections are generally two connections, one is the client and server transfer commands, and the other is the data transfer connection. FTP Service program generally support two
Are you preparing to build your own ftp website? Do you know how FTP works? Do you know what port mode is? What is PASV? If you do not know, or are not fully familiar with it, please sit down and spend a little time reading this article carefully.
FTP connections generally have two connections: one is the client and the server transmission command, and the other is the data transmission connection. FTP service programs generally support two different modes: Port mode and PASV mode ),
FTP is the abbreviation for file Transfer Protocol (document Transfer Protocol), and Chinese is called "Interfax protocol". Used for two-way transmission of control files on the Internet. At the same time, it is also an application (application).
FTP command details (including operating instances)
The following is the Microsoft command line FTP Client Command Daquan, if you want to use the "RAW" FTP command rather than the following translated please refer to:
Article title: active and passive modes (PASV) in ftp ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open
Control CHannel: the control channel is used to communicate with the FTP server. The control channel is used to connect to FTP and send FTP commands.
Data Channel: data channel is a channel for file transfer or list with the FTP server.
You may ask
Installation: sudo apt-get install vsftpd
# VSFTP (Very secure FTP) is a very secure and fast-stable FTP server in Unix/linux
After installation, you may automatically generate an account "FTP",/home will also add a folder.
If you do not generate
Linux inside the firewall iptables generally is the port open, for the FTP protocol in the PASV (passive) mode, there are 2 connections, this second connection seems to be with the first 21 port is not related, 21 port is connected to the
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.