当前位置:网站首页>FTP experiment and overview
FTP experiment and overview
2022-07-23 12:54:00 【Y firm materialist】
Catalog
1.1FYP It's a file transfer protocol
2. Modify the configuration file
3. Opening service , Turn off firewalls and enhanced security !!!!
One 、 summary
FTP (File TransferProtocol, File transfer protocol ) Is a typical c/s Application layer protocol of architecture , The server software is required 、 The two parts of the client software jointly realize the file transfer function .FTP The connection between the client and the server is reliable , Connection oriented , It provides reliable guarantee for data transmission .tcp agreement :20,21 port
1.1FYP It's a file transfer protocol
It supports two modes , One way is called standard( That is to say active, Active way ), One is Passive( That is to say PASV, Passive way ).Standard Pattern rlP The client sends PORT Order to FTP server.Passive Pattern FTP The client sends PASV Order to FTP serverstandard Pattern FTP The client first communicates with lFTP Server Of TCP21 Port establish connection , Send commands through this channel , When the client needs to receive data, it will send it on this channel PORT command .PORT The command contains what port the client uses to receive data . When transmitting data , Server side through their own TCP 20 Port send data .FTPserver A new connection must be established with the client to transmit data .
1.2Passive Pattern
When establishing control channels and standard Similar model , When the client sends through this channel PASV When ordered ,FTP
server Open a window located in 1024 and 5000 And notify the client of the request to transmit data on this port , then FTP server Data will be transmitted through this port , This is the time FTP server There is no longer a need to establish a new connection with the client .
1.3standard Pattern
FTP The client first communicates with FTP Server Of TCP
21 Port establish connection , Send commands through this channel , When the client needs to receive data, it will send it on this channel PORT command .
PORT The command contains what port the client uses to receive data . When transmitting data , Server side through their own TcP[20 Port send data ,FTP
server A new connection must be established with the client to transmit data .
1.4 Data connection mode
FTP Data connection is divided into active mode and passive mode
- Active mode : The server initiates the data connection actively
- Passive mode : The server passively waits for data connections
Two 、 build FTP
1. install FTP service


2. Modify the configuration file
vim /etc/vsftpd/vsftpd.conf


3. Opening service , Turn off firewalls and enhanced security !!!!

3、 ... and 、 verification
stay Windows The system opens the start menu , Input cmd Command opens the command prompt

stay windows On this PC , Input ftp The address of the server ( Deploy ftp Of the server ip)

边栏推荐
- MySQL performance optimization, index optimization
- 如何解决if语句太多
- GameFramework:资源热更代码分析,检查版本信息,下载版本文件,校验版本文件,得到更新文件数量,下载文件,TaskPool
- 详解TCP连接的释放
- Hcip--- BGP related configuration (Federal chapter)
- Unity3d+GameFramework:资源分析,资源依赖,循环依赖检测
- 浅做一下思科实验吧!
- Explain TCP segmentation and IP fragmentation in detail
- 路由与交换技术——静态路由
- Reading Phoenix Architecture - History and knowledge of RPC
猜你喜欢

C # custom stack

GameFramework:Resource加载,资源加载,依赖加载,任务池,对象池,引用计数

Learning diary - (routing and switching technology) DHCP (Dynamic Host Configuration Protocol)

超好用的抓包工具tcpdump

Gameframework: resource hot code analysis, check version information, download version files, verify version files, get the number of updated files, download files, taskpool

路由与接口技术——直连网络总结

Unity3d+moba+ skill indicator (II)

如何用普通的文本编辑器写Web页面

Routing and switching technology - static routing

C# 自定义Queue队列集合
随机推荐
学习日记——(路由与交换技术)ACL访问控制列表
C#:stack栈源码,数组栈,链栈
学习日记——(路由与交换技术)动态路由(rip协议)和静态路由
Analysis of Internet Protocol (II)
C #: TOPK: take the largest 100 before 10000 numbers, and sort the heap
简洁描述raft与paxos在设计上的共同点和不同点
C: stack stack source code, array stack, chain stack
Hcip - first experiment
Routing extension configuration of OSPF and rip
静态路由原理与配置
Htpasswd action
Post form submission data limit
剖析Redis服务器
Hcip --- BGP --- border gateway protocol
Learning diary (routing and switching technology) -- floating static routing and default routing
DNS域名解析服务
详解TCP的交互数据流和成块数据流
详解各种网络协议
[AUTOSAR storage stack NVM]
Hcip --- condition matching and OSPF Protocol