I am creating a downloadaccelerator library
Is there any way to know before starting a download from a link weather the server supports resuming downloads/downloading file reange . Because if it does then i ll use multipple connections and download ranges or else i ll download the whole file normally
thank you
Similar to
GETheader to get the required html page, we have something called asHEADheader.When you send a
HEADrequest for an URL we get a set of values for the URLExample: if you want to know details of
http://www.wgz.org/chromatic/perl/IntroTestMore.pdf
Send a
HEADcommand to the URL, the response will beIntresting Values:
Accept-Ranges,Content-LengthAccept-Ranges: bytestells that server is ready to give files part by part as requestedMore info here: http://www.crazyengineers.com/community/threads/how-does-resume-download-work.7396/