-1

I'm planning on writing a custom download manager as part of an application. To start researching, I'd appreciate pointer/opinions on the following:

  • How to detect if the target server supports resume for a given file.
  • How to download files in multiple parts.
  • Any libraries available for .NET?
  • What would be a good the most practical way to go? ThreadPool or TPL?
tshepang
  • 12,111
  • 21
  • 91
  • 136
Raheel Khan
  • 14,205
  • 13
  • 80
  • 168
  • 3
    Way too many questions at once. And each individual question is way too broad. A true 'answer' to this question would be book-length. (FYI: I did not down vote) – Andrew Barber Jan 15 '12 at 22:28
  • 1
    Why write YADM (yet another download manager)? This has been done several times and [some of them](http://www.codeproject.com/KB/IP/MyDownloader.aspx) even include the source. – M.Babcock Jan 15 '12 at 22:33
  • @M.Babcock: +1 for the link. To answer your question, my application is commercial so I cannot use any code associated with open source licenses. – Raheel Khan Jan 15 '12 at 22:56
  • 1
    @AndrewBarber: You are probably right. However, the intention was to figure out where to start looking for those four points rather than lengthy answers. I'll add my own answer for the first three. Will launch the fourth question as a separate SO post. – Raheel Khan Jan 15 '12 at 22:58
  • @RaheelKhan - I understand the license restrictions of commercial applications however at the least if a project is open source you can read their code to figure out *how* they got by your issues (assuming they have). – M.Babcock Jan 16 '12 at 00:48

1 Answers1

3

Assuming you mean a HTTP download manager?? For the first 2... HTTP Header Field Definitions - Accept-Ranges

craig1231
  • 3,769
  • 4
  • 31
  • 34