[DUG] HTTP Upload Progress
Richard Vowles
richard at developers-inc.co.nz
Thu Sep 18 08:07:48 NZST 2008
Not a Java applet, a Java web server. I wasn't suggesting you run on a Java
web server, I was just explaining how I did it in case you wanted to
duplicate the idea in native code... It is all AJAX based.
2008/9/18 Jeremy Coulter <jscoulter at gmail.com>
> yeah there is a bit of stuff around done in Java, but the last thing we
> need to have to do is explain to people how to install java. The same for
> flash, which is why I was heading in the native code direction.
>
> Jeremy
>
> ------------------------------
> *From:* delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz]
> *On Behalf Of *Richard Vowles
> *Sent:* 18 September 2008 05:46
> *To:* NZ Borland Developers Group - Delphi List
> *Subject:* Re: [DUG] HTTP Upload Progress
>
> The way I implemented this (in a Java web server) was that once the form
> was submitted, an ajax request was fired off in the background and
> repeatedly asked the server how the file upload was progressing, and updated
> the amount of colour in a progress bar. The upload was attached to the
> session, so the ajax call was able to grab the info structure from the
> session and query it (as the file upload specifies how big something is and
> as the upload is happening, you can just specify in the structure how much
> you had received).
>
>
--
---
Richard Vowles, Technical Advisor
Developers Inc Ltd
web. http://www.developers-inc.co.nz
ph. +64-9-3600231, mob. +64-275-467747, fax. +64-9-3600384
skype. rvowles, LinkedIn, Twitter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20080918/c0959d43/attachment.html
More information about the Delphi
mailing list