HTTP/1.1 File resume support

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.

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
digitalsurgeon
Naik
 
Posts: 61
Joined: Sat Jun 01, 2002 2:58 pm
ICQ: 20248417
Website: http://members.evolt.org/cbird/
WLM: ahmadpak@hotmail.com
Location: Islamabad

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
basit
Lance Naik
 
Posts: 31
Joined: Wed Aug 07, 2002 8:00 pm
ICQ: 4639229
Website: http://www.basit.yi.org
WLM: champoo_2k@hotmail.c
Yahoo Messenger: none
AOL: none
Location: Wichita KS -USA

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 ???
digitalsurgeon
Naik
 
Posts: 61
Joined: Sat Jun 01, 2002 2:58 pm
ICQ: 20248417
Website: http://members.evolt.org/cbird/
WLM: ahmadpak@hotmail.com
Location: Islamabad

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

basit
Lance Naik
 
Posts: 31
Joined: Wed Aug 07, 2002 8:00 pm
ICQ: 4639229
Website: http://www.basit.yi.org
WLM: champoo_2k@hotmail.c
Yahoo Messenger: none
AOL: none
Location: Wichita KS -USA

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
AsadR
Lance Naik
 
Posts: 36
Joined: Sat Sep 14, 2002 11:27 am
ICQ: 8374759
Location: Khi.pk

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

well thanx all you ppl ! it really helpde me a lot !
digitalsurgeon
Naik
 
Posts: 61
Joined: Sat Jun 01, 2002 2:58 pm
ICQ: 20248417
Website: http://members.evolt.org/cbird/
WLM: ahmadpak@hotmail.com
Location: Islamabad


Return to “%s” Programming

Who is online

Users browsing this forum: No registered users and 2 guests

cron