HTTP/1.1 File resume support

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.
Post Reply
digitalsurgeon
Naik
Posts: 61
Joined: Sat Jun 01, 2002 2:58 pm
Location: Islamabad
Contact:

HTTP/1.1 File resume support

Post by digitalsurgeon »

Hello !


well since HTTP/1.1 PRotocol support file resuming after a broken download, and many download managers like DAP, GetRight, Flash Get etc are using it ...

so I was wondering how do they do it ?

well i know it's quite easy in FTP where there's a seperate data connection and a seperate commands connection, but what about HTTP/1.1

if you are familiar with it then please tell me
basit
Lance Naik
Posts: 31
Joined: Wed Aug 07, 2002 8:00 pm
Location: Wichita KS -USA
Contact:

Post by basit »

I think with HTTP protocol you can set where to start
like
HTTP.ContentRangeStart= some byteoffset(say 10021)
say 10020 already been downloaded and resume starts

-- basit
digitalsurgeon
Naik
Posts: 61
Joined: Sat Jun 01, 2002 2:58 pm
Location: Islamabad
Contact:

Post by digitalsurgeon »

HTTP.ContentRangeStart= some byteoffset(say 10021)


well that's gr8 but some more help would be helpfull :) plus what's
the purpose of . here ? is it a code from some OO language ???
basit
Lance Naik
Posts: 31
Joined: Wed Aug 07, 2002 8:00 pm
Location: Wichita KS -USA
Contact:

Post by basit »

AsadR
Lance Naik
Posts: 36
Joined: Sat Sep 14, 2002 11:27 am
Location: Khi.pk
Contact:

Post by AsadR »

If you use getright, an easier way of see'ing how resumes work is by reading the "Transfer Details" (in the submenu) of an active transfer. There you'll see the headers sent and headers received. The sent headers will show you the exact HTTP request sent by GetRight (including the resume request).

Asad
digitalsurgeon
Naik
Posts: 61
Joined: Sat Jun 01, 2002 2:58 pm
Location: Islamabad
Contact:

Post by digitalsurgeon »

well thanx all you ppl ! it really helpde me a lot !
Post Reply