You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rpc-user@xml.apache.org by Nikolajus Krauklis <ni...@avc.lt> on 2002/11/13 10:16:19 UTC

Downloading xmlprc answer from server (progress),

Qst: How to count progress of downloading xmlrpc answer from server.

Theorically where is one best solution for this question:
in XMLRPC spec - "The Content-Length must be specified and must be correct."
so you know how many information will be transfered, and in the client side
you know how many bytes you have trasfered. So you can count percenteges
how many bytes left to download.

But is this so easy to complete ? And why i can't find this solution
throught
all internet. Noone talks about it :/

Is this posible to make so ? for example i try python xmlrpclib and
org.apache.xmlrpc
and also delphi codepunk component, but if you want to make progress in this
way
you should to tweek packages for yourself, why?

----------------------------------------
Nikolajus Krauklis


Re: Downloading xmlprc answer from server (progress),

Posted by Daniel Rall <dl...@finemaltcoding.com>.
"Nikolajus Krauklis" <ni...@avc.lt> writes:

> Qst: How to count progress of downloading xmlrpc answer from server.
> 
> Theorically where is one best solution for this question: in XMLRPC
> spec - "The Content-Length must be specified and must be correct."
> so you know how many information will be transfered, and in the
> client side you know how many bytes you have trasfered. So you can
> count percenteges how many bytes left to download.
> 
> But is this so easy to complete ? And why i can't find this solution
> throught all internet. Noone talks about it :/
> 
> Is this posible to make so ? for example i try python xmlrpclib and
> org.apache.xmlrpc and also delphi codepunk component, but if you
> want to make progress in this way you should to tweek packages for
> yourself, why?

It's possible that no one else had a need for it yet.
-- 

Daniel Rall <dl...@finemaltcoding.com>

Re: Downloading xmlprc answer from server (progress),

Posted by Daniel Rall <dl...@finemaltcoding.com>.
"Nikolajus Krauklis" <ni...@avc.lt> writes:

> Qst: How to count progress of downloading xmlrpc answer from server.
> 
> Theorically where is one best solution for this question: in XMLRPC
> spec - "The Content-Length must be specified and must be correct."
> so you know how many information will be transfered, and in the
> client side you know how many bytes you have trasfered. So you can
> count percenteges how many bytes left to download.
> 
> But is this so easy to complete ? And why i can't find this solution
> throught all internet. Noone talks about it :/
> 
> Is this posible to make so ? for example i try python xmlrpclib and
> org.apache.xmlrpc and also delphi codepunk component, but if you
> want to make progress in this way you should to tweek packages for
> yourself, why?

It's possible that no one else had a need for it yet.
-- 

Daniel Rall <dl...@finemaltcoding.com>