C++程序中如何实现ftp多线程下载

来源:百度知道 编辑:UC知道 时间:2024/06/08 19:22:58
具体情况是这样的,本想以为依靠VB来编一个更新器,但很可惜VB语言太老了,实现多线程很困难,于是投靠了C。但对C++并不是非常熟悉,其中的多线程下载我只知道http协议的代码,但目前是有一个FTP空间。分为大约5个线程就够了,国内一个线程足以达到满速,但台湾和新加坡的用户的速度就不理想了,起码要到100KB吧。
codeproject。。。。把源码地址给我好吧?thanks

http://www.codeproject.com/KB/cpp/stuffftp.aspx

我的博客里有多线程下载的代码。可以参考一下。

本人不才,下面这个是从网络上转来的.不知可有帮助.

这是codeproject的关于ftp的实现,你可以去down源代码
Introduction

StuffFTP is a free for life FTP client. This FTP client will allow you to connect to FTP servers and upload and download files.
Motivation

Why did I create and continue to support StuffFTP? First it is a learning experience, and since I just got laid off from my company, I decided to use some of the tools they have provided, its legal as I technically bought them and they do not have other programmers following in my footstep nor do they plan on hiring any, to create something for the community. I also used another FTP program that was freeware for a while and then became pay to use software with little to no notice. That irked me and a friend suggested I create my own FTP client. So I