HTTP/1.1 File resume support

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

HTTP/1.1 File resume support

Postby digitalsurgeon » Sun Jan 05, 2003 4:44 pm

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:

Postby basit » Mon Jan 06, 2003 12:09 pm

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:

Postby digitalsurgeon » Tue Jan 07, 2003 9:36 am

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:

Postby basit » Tue Jan 07, 2003 9:41 am


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

Postby AsadR » Sun Jan 12, 2003 10:14 pm

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:

Postby digitalsurgeon » Thu Jan 23, 2003 6:32 pm

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


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests