Solved

Split Download beteen multipe users

Posted on 2002-06-10
3
214 Views
Last Modified: 2013-11-13
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
Comment
Question by:TAF2000
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 500 total points
ID: 7070160
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
 

Author Comment

by:TAF2000
ID: 7093715
Can't you do it in a way using arrays of controls?  

Anyone else have any ideas?

Thanks
0
 

Author Comment

by:TAF2000
ID: 7099867
Well.. I wouldn't say that was a 500 point answer.. but here you go anyhow..
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
groupSumClump challenge 9 98
Not needed 13 93
vb6 - Transfer from MSHFlexgrid1 to xls issue 8 45
Excel file not created as expected 7 48
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now