Python implements the FTP server service, and python implements the ftp server
Active and passive modes of FTP services
Before starting, let's talk about the FTP active mode and passive mode. The difference between the two is that the two images may
When learning the FTP protocol, we learned that the work done in different protocol modes is different, so today we will explain the FTP transmission mode. First, let's take a look at the two FTP modes and how the protocol switching between them is
Transferred from: http://www.cnblogs.com/li0803/archive/2010/11/16/1878833.htmlFTP is file Transfer Protocol (File Transfer ProtocolEnglish abbreviation, and Chinese Jane is called "the Interfax agreement". Used for two-way transmission of control
Reprint an article from others: http://my.oschina.net/idiotsky/blog/303545 This article is very good, because it tells me how to check the value of the selinux bool variable and settings for FTP. I didn't get my FTP server at the end of the deal,
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). It
Directory
Opening Remarks
Basic
Active FTP
Example of active FTP
Passive FTP
Example of Passive FTP
Summary
References
Appendix 1: Configure common FTP servers
Opening RemarksOne of the most common challenges when dealing with Firewall
FTP is a common TCP-based network service. It uses two TCP connections to establish a logical communication channel, that is, control connections and data connections. When the client establishes an FTP session with the server, use TCP to create a
3.4 receiver-connector (acceptor-connector)
1. Problem
In a connection-oriented network system, ApplicationsProgramA large number of configuration proxies are usually used to establish connections and initialize services. These
--FTP (file tranfer Protocol)Server Serv-U in WindowsClient CuteFTP LeapFTP flashftpA very old file transfer protocol with plaintext transmission, which is not safeMany Web page maintenance systems use ftp to update website page
Enable ftp for CentOS1. after the vsftpd component is installed,/etc/vsftpd is installed. conf file, used for configuration, and a new ftp user and ftp group, pointing to the home directory as/var/ftp. The default value is nologin (cannot log on to
FTP File Download:
1. Ftpclient.connect method to connect to server according to host and port
2. Enter username and password by Ftpclient.login method login
3. Non-essential methods (Setfiletype settings file type (there are two,
1. How to forward the local 80 port request to 8080 port, the current host IP is 192.168.16.1, where the local NIC eth0:For:# iptables -t nat -A PREROUTING -d 192.168.16.1 -p tcp --dport 80 -j DNAT --to 192.168.16.1:8080Or# iptables -t nat -A
1. Install VSFTPD components, after installation, there are/etc/vsftpd/vsftpd.conf files, used to configure, there is a new FTP user and FTP group, pointing to the home directory for/VAR/FTP, the default is Nologin (unable to login system)
Yum-y
FTP ServiceFile Transfer ProtocolFtpfile Transfer Protocol One of the early three application-level protocolsBased on C/s structureDual-channel protocol: Data and command connectionsData transfer format: binary (default) and textTwo modes: Server
Address: http://www.c-sharpcorner.com/UploadFile/neo_matrix/SimpleFTP01172007082222AM/SimpleFTP.aspx[Source code download]
. NET 2.0 (C #) Simple FTP applicationProgram
Original article released on: 2007.01.18Author: Neo MatrixTranslation:
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
Usepassive-specifies whether the active or passive mode is used. Earlier, all clients used active mode and work well. Now, due to the existence of the Client Firewall, some ports will be closed,In this way, the active mode will fail. In this case,
Depending on whether the Port or Passive mode is used, FTP uses different TCP Port numbers. Before describing FTP in detail, let's briefly discuss some basic concepts of TCP Port numbers. TCP uses the port number to identify the sent and received
The following is my personal experience. If you make a mistake, please point it out .! Original Author: smiling assassin Www.OneTian.com
Intranet FTP setup-two FTP transmission modes
First, let's talk about the environment. The server is in 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.