<div dir="ltr">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). <br>
<br><div class="gmail_quote">2008/9/17 Jeremy Coulter <span dir="ltr"><<a href="mailto:jscoulter@gmail.com">jscoulter@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div><span><font face="Arial" size="2">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.</font></span></div>
<div><span><font face="Arial" size="2">So, here is my post
again. Appologies if its already been answered.</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">
<div><span><font face="Arial" size="2">Hi
All.</font></span></div>
<div><span><font face="Arial" size="2">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.</font></span></div>
<div><span><font face="Arial" size="2">I have looked at the
Synapse code for doing this, but it doesn't have the ability to show the
progress.</font></span></div>
<div><span><font face="Arial" size="2">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.</font></span></div>
<div><span><font face="Arial" size="2">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
:-(</font></span></div>
<div><span><font face="Arial" size="2">OR someone might
even have a brighter idea ;-)</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div><font color="#888888">
<div><span><font face="Arial" size="2">Jeremy</font></span></div></font></font></span></div></div>
<br>_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe<br></blockquote></div><br><br clear="all"><br>-- <br>---<br>Richard Vowles, Technical Advisor<br>
Developers Inc Ltd<br>web. <a href="http://www.developers-inc.co.nz">http://www.developers-inc.co.nz</a><br>ph. +64-9-3600231, mob. +64-275-467747, fax. +64-9-3600384<br>skype. rvowles, LinkedIn, Twitter<br><br><br>
</div>