I am working on an iOS application, which needs basically functionality like µTorrent. I am able to download and upload through the app using a web service (API) created in PHP.
I get to know that I should also configure my web service and server for pause and resume the downloads and uploads?
I read somewhere that, If I'll pass the range
in headers
of the request through my app, then if server is capable of accept the range then it'll start the download and upload from when it stopped.
I want to know how I can configure my server to accept the ranges
? And start the upload and download from it last?
range
in a request to the server, then the server should capable to regenerate the image of that particular resource from where it stopped last. Here I am totaly unaware of those things!