FTP protocol-based File Transfer tool (SOCKET, FTP aspect, MFC aspect)

Source: Internet
Author: User
Tags response code ftp client file transfer protocol ftp protocol ftp transfer

650) this.width=650, "class=" Bde_image "width=" 345 "height=" "src=" http://imgsrc.baidu.com/forum/w%3D580/sign= 2d584395cd177f3e1034fc0540ce3bb9/6d4c17a4462309f76cc27c31760e0cf3d7cad66f.jpg "style=" border:0px;margin-top:8px ; font-family:arial, Simsun;font-size:14px;line-height:24px;white-space:normal;background-color:rgb (255,255,255) ; "alt=" 6d4c17a4462309f76cc27c31760e0cf3d7cad66f "/>


I. what is the course (comprehensive introduction)

1, Introduction:
FTP (file Transfer Protocol), which is the short name of the document transfer Protocol. Used for two-way transmission of control files on the Internet. At the same time, it is also an application (application). It allows users to connect their PC to all servers running the FTP protocol around the world, accessing a large number of programs and information on the server.
2. Function:
The primary role of FTP is to have users connect to a remote computer (which is running an FTP server program) to see what files are available on the remote computer, then copy the files from the remote computer to the local computer, or send the local computer's files to the remote computer.
3. Principle:

Take the file as an example, when you start FTP copy files from a remote computer, you actually launch two programs: a local FTP client program: It asks the FTP server for a copy of the file. The other is the FTP server program that launches on the remote computer, and it responds to your request to transfer the files you specified to your computer.

II. objectives of the project training

1, this series of lectures are divided into three parts:


Take the file as an example, when you start FTP copy files from a remote computer, you actually launch two programs: a local FTP client program: It asks the FTP server for a copy of the file. The other is the FTP server program that launches on the remote computer, and it responds to your request to transfer the files you specified to your computer.

a brief introduction to the 1.FTP transmission protocol and its transmission mode, with emphasis on FTP interface
introduction of 2.SOCKET communication, mainly introduces TCP/IP protocol and its three-time handshake

3. Explanation of File Transfer tool

2. Applicable objects

a brief introduction to the 1.FTP transmission protocol and its transmission mode, with emphasis on FTP interface
introduction of 2.SOCKET communication, mainly introduces TCP/IP protocol and its three-time handshake

3. Explanation of File Transfer tool
iii. introduction of modules
1. Introduction of FTP Transfer Protocol
1.FTP Protocol Overview
2.FTP Protocol Terminology
3.FTP Models
4.FTP Transfer Mode
5.FTP transmission Mode
6.FTP Instruction
7.FTP Response Code

2, the introduction of Ocket communication, mainly introduces the TCP/IP protocol and its three-time handshake
1. Socket Overview
2. How to design and use sockets for communication
3.Socket Interface Introduction
4. Link-stream-based network protocol--TCP/IP Protocol
TCPIP Application Example of 5.Socket communication

3. FTP-based File Upload tool (total 20-30 words)
1. Overview
2. Development objectives and reference documentation
3. Development tools and test tools
4. Program Structure
5. Function Module Design
6. Server-side design detailed
7. Client Design Detailed

Iv. The technology involved in this project:

1, Socket aspects
1. Design of communication Protocols
2.Socket communication prevents network redundancy
3. Communication mode based on link stream TCP/IP protocol
4. Using sockets for communication between client and server side

2, Socket aspects
1.FTP Transfer Mode
2.FTP transmission Mode
3.FTP instruction and FTP transport interface
4. Using FTP to achieve inter-PC file transfer

2, MFC aspects
1. Getting and writing the edit box string
2. Callback Functions for button responses and the use of MFC library functions
design and application of 3.MFC interface




Links:Http://pan.baidu.com/s/1qWyoe88
Password: 87a1

This article is from the "9343141" blog, please be sure to keep this source http://9353141.blog.51cto.com/9343141/1611514

FTP protocol-based File Transfer tool (SOCKET, FTP aspect, MFC aspect)

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.