Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 232
  • Last Modified:

Split Download beteen multipe users

I am writing a file sharing program and I would like to know how to split the file download beteen multiple users.  In other words, simultaniously download different pieces of a file from different users and then put the pieces together (Similar to the way that Kazaa or Morpheus do)

I was planing to use the winsock control for the file transfer, but if you have another idea, that is fine as well.

At the very minimum I need to know how to resume a file transfer, but I would really like to have the functionality to download the same file from multiple users at the same time.

For 500 points I need some source code.  A zip sent to taf@taftech.net would be great!

Thanks in advance!
0
TAF2000
Asked:
TAF2000
  • 2
1 Solution
 
AzraSoundCommented:
For the asynchronous downloads, you may look at incorporating your project as an activeX EXE:

"Multi-Threaded VB Using ActiveX EXEs"
http://vbaccelerator.com/codelib/thread/exethr.htm


And for an explanation of how to handle broken downloads with the winsock control:
http://www.vbip.com/forum/topic.asp?id=1107
0
 
TAF2000Author Commented:
Can't you do it in a way using arrays of controls?  

Anyone else have any ideas?

Thanks
0
 
TAF2000Author Commented:
Well.. I wouldn't say that was a 500 point answer.. but here you go anyhow..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now