GET is something already implelemnted by standard. If you want to implement
partial downloading ( packet by packet) than you need to design it at both
ends .ie a client component and a server component which caters to these
types of requests. So knowing abt weather the Server allows download
partial files is important.
On 12/13/06, Indika Bandara <[EMAIL PROTECTED]> wrote:
thank you PJH,
if a http proxy prevents downloads of size larger than, say 10MB is it
possible to use this method to download files partially.
when,
"GET www.abc.com/file.zip"
sent by client, server replies with the size. so is it this field that
the proxy reads and prevents the download from proceeding?(i'm
particularly asking about a squid http proxy)
if thats true then there is no point in trying to write a client to do
partial-GET isn't it?
--- In [email protected], "Paul Herring" <[EMAIL PROTECTED]> wrote:
>
> On 12/12/06, Indika Bandara <[EMAIL PROTECTED]> wrote:
> --- In [email protected], "Paul Herring" <pauljherring@> wrote:
> > > On 12/11/06, Indika Bandara <indikabandara19@> wrote:
> > > > hello,
> > > >
> > > > sorry if this is a wrong question in the wrong place. since many
> > > > knowelegable persons are in this forum thought of askin this
> > > > (programmers are supposed to know every thing right?)
> > > >
> > > >
> > > > How do the web clients which download files by parts work?(e.g
> > > > prozilla, download accelerator-DAP etc)
> > >
> > > Most downloaders (IE, Mozilla e.g.) download from the site using one
> > > connection, and request all bytes from 0 to <length of file>.
What the
> > > clients you're asking about do is make more than one connection and
> > > ask for sub-portions of the file on each connection.
> >
> > how is is actually implemented?
> > a request is normally like
> >
> > GET www.abc.com/file.zip
> >
> > isn't it? so how can one request portions of a file?
>
>
> http://www.ietf.org/rfc/rfc2616.txt
>
> The semantics of the GET method change to a "partial GET" if the
> request message includes a Range header field. A partial GET requests
> that only part of the entity be transferred, as described in section
> 14.35. The partial GET method is intended to reduce unnecessary
> network usage by allowing partially-retrieved entities to be
> completed without transferring data already held by the client.
>
>
>
> --
> PJH
>
> #713059 +(1255)- [X]
>
> <SaintAlvus> Does the name Doctor Pavlov ring a bell?
>
To unsubscribe, send a blank message to <mailto:
[EMAIL PROTECTED]>.
Yahoo! Groups Links
--
Regards
Sumit Chawla ("eNetra : Hail the Invention")
"Computers are useless. They can only give you answers.":Pablo Picasso