TOE1G-IP FTP Server Demo Reference Design Manual
■File Transfer Protocol (FTP) is the protocol designed for file sharing over internet. By using TCP/IP for lower layer, FTP can transfer data reliably and efficiently.
■As shown in Figure 1, there are two hosts with its own storage for storing data in file format. One is server to store shared data in the network and another is client for general user access. To transfer file by using FTP protocol, two-port connections are required, i.e. control port to transfer FTP commands from client to server and FTP replies from server to client, and data port to transfer data between the hosts.
■Server Protocol Interpreter (Server-PI) and User Protocol Interpreter (User-PI) are responsible for managing the control connection on the server and client respectively. Server-PI listens the well-known TCP port for FTP (Port 21) to check connection requests from User-PI. After connection is established, Server-PI can receive FTP commands from User-PI, send back FTP replies, and manage the server data transfer process. For client side, User-PI is responsible to process commands from the user interface, forward command to Server-PI, receive back replies, and manage the user data transfer process.
■Server Data Transfer Process (Server-DTP) and User Data Transfer Process (User-DTP) are used to send or receive data. The data connection can be established from Server-DTP (active mode) or from the User-DTP (passive mode). Generally, passive mode FTP is implemented to resolve the firewall problem on FTP client. The data connection is established to transfer the file between the server and the client, and terminated when the file transfer is complete. Both Server-DTP and User-DTP interacts with the local file system to read and write files.
■User Interface provides the human user to issue commands and see responses from the FTP software.
|
|
|
|
Application note & Design Guide |
|
|
|
Please see the document for details |
|
|
|
|
|
|
|
English Chinese Chinese and English Japanese |
|
2-Sep-16 |
|
Rev 1.1 |
|
|
|
322 KB |
- +1 Like
- Add to Favorites
Recommend
All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.