Yi Meng tcp file upload download and Automatic Update system introduction (TCP File Transfer) (a)

Source: Internet
Author: User

Yi Meng tcp file upload download and Automatic Update system introduction (TCP File Transfer)

The system is based on the open source Networkcomms communication framework, which was previously charged, is now free and Kaiyuan, the author is the United Kingdom, the development time of more than 5 years, the framework is very stable.

Project Address: https://item.taobao.com/item.htm?spm=686.1000925.0.0.AjdBGP&id=537538462790

Consulting qq:286275658

Demo Program: HTTP://PAN.BAIDU.COM/S/1GEVFMCR

Server-side operation:

Server-side configuration files:

12345678 <?xml version="1.0"encoding="utf-8" ?><configuration>  <appSettings>    <add key="DirectoryPath"value="D:\"/>    //客户端上传的文件的保存路径    <add key="IPAddress"value="127.0.0.1"/>  //服务器端的IP  需要修改真实的IP    <add key="Port"value="6006"/>            //监听的端口号  </appSettings></configuration>

Partial code for server-side receive files:

Incomingpartialfiledata Incomingpartialfiledatainfo

.

Part of the code:

SendFile

The client describes how to upload the download file, how to enable the automatic upgrade program

Upload file:

View Code

Download file:

View Code

Upload interface:

Article Address: Www.cnblogs.com/networkcomms

Yi Meng tcp file upload download and Automatic Update system introduction (TCP File Transfer) (a)

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.