[DUG] HTTP Upload Progress

Richard Vowles richard at developers-inc.co.nz
Thu Sep 18 05:45:40 NZST 2008


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).


2008/9/17 Jeremy Coulter <jscoulter at gmail.com>

>  Hi Al, sorry this is a repeated post, as I have not received any emails
> from the list in a week, then I got an email to reconfirm my email address
> because the emails were meant to be bouncing....which is strange because its
> my main email address and I have been getting emails ok....anyway using
> gmail now.
> So, here is my post again. Appologies if its already been answered.
>
>  Hi All.
> I am wondering if anyone has seen or has any Delphi code that will do an
> http file upload, BUT that shows you the upload progress.
> I have looked at the Synapse code for doing this, but it doesn't have the
> ability to show the progress.
> Why use HTTP File upload and not FTP? simple answer, not every site has FTP
> enabled...as we have found out, and email has been a bit unreliable.
> I have taken a look at the odd Java plugin that does this which would be
> good because I could just have my app. look at a webpage instead of build it
> into the exe, but then, no guarantees that java is enabled
> either....sigh...the joys :-(
> OR someone might even have a brighter idea ;-)
>
> Jeremy
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
> unsubscribe
>



-- 
---
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/6a402ee3/attachment.html 


More information about the Delphi mailing list