On Nov 4, 2006, at 10:49, Fastream Technologies wrote:
> So to summarize:
> Can we know how many byte have been uploaded at a given on the client
> side
> (using javascript)?
No. An "HTTP Upload" is just a POST request, which the browser handles
itself. JavaScript only offers an API for client-side scripting.
There may be browser-specific proprietary extensions to this, but they
are not standard. If you want to have control over it, then you may
initiate an external asynchroneous request by using JavaScript to
communicate with the server, or some plug-in component, but then you're
on your own: you'll have to handle it yourself from scratch.
> Can we know file size being uploaded at a given on the client side
> (using
> javascript)?
No. JavaScript provides an API for client-side scripting, and POST/GET
requests are transport mechanisms governed by the the browser at low
levels using HTTP. See above.
There are ways to do what you want, but they involve a lot more than
just an "HTTP upload": Dynamic HTML, AJAX, plug-ins, and other
frameworks (such as Flash, etc.) And any of them requires basically a
full custom solution. In any case, it is out of the scope of this
mailing list (unless you build your plug-in using ICS, of course).
dZ.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be