LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Functioning of Download Manager (http://www.linuxquestions.org/questions/linux-networking-3/functioning-of-download-manager-4175427366/)

sabarishsubramanian 09-15-2012 04:44 AM

Functioning of Download Manager
 
How does a download manager resumes its download when its paused??What is the mechanism behind it??Can anybody explain it clearly??

SecretCode 09-15-2012 08:14 AM

As I understand it:

The download manager records how much it's retrieved, and save this every few seconds / few minutes / when paused.
When resumed, it uses the Range headers for partial GET requests (for http - or equivalents for ftp/sftp) and appends what it receives to the file saved so far.

Not all web servers support partial gets, but the majority do.

See e.g. HTTP/1.1: Method Definitions

sabarishsubramanian 09-19-2012 04:18 AM

Thank you sir.you cleared my doubt:)


All times are GMT -5. The time now is 06:40 AM.