CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2005
    Posts
    336

    How do download accelarators work?

    For example flashget.It can download different parts simultaneously.I wonder this.How can it achieve this?General agorithm will be enough for me...
    Last edited by sawer; October 3rd, 2005 at 10:14 AM.

  2. #2
    Join Date
    Sep 2005
    Posts
    336

    Re: How dose download accelarators work?

    How can i learn file size before i start to downoad?

  3. #3
    Join Date
    Mar 2004
    Location
    33°11'18.10"N 96°45'20.28"W
    Posts
    1,808

    Re: How dose download accelarators work?

    http://www.faqs.org/rfcs/rfc2616.html

    if nothing else, do a GET, and read the content lengh header, then request a multipart/byteranges header for the range of bytes to include in the subsequent GET for the part of the file you need.

    put each in a seperate thread, and download the parts individually. of course there is a point of demenishing return (max capacity of the downloader / uploader's connection).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured