• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 204
  • Last Modified:

Multithread downloading

Can someone show me an example what is the best way to download file from the internet using, for example four threads, each downloading other part of the file. Just like Download Accelerator or Flash get does... ?

My main point is to download the file using that method form local network (LAN), so it should be easier as i think :-)
0
Lukasz Lach
Asked:
Lukasz Lach
  • 2
1 Solution
 
noyrenCommented:
well, if you send a stream, you could for example set the filestream position a bit higher before you send it, and send X bytes from that stream.
0
 
Lukasz LachAuthor Commented:
OK I have done it myself, but have that.
You were the one and only :-)
0
 
noyrenCommented:
thanks :)
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

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