<div dir="ltr">I totally agree Conor.<br>Infact I have built a whole product around a Delphi GUI interface and HTTP Post and it works perfectly fine. Infact its used on average 450 times a day for financial claiming and it never misses a beat!<br>
However, I am now converting it over to use HTML files because of a small speed issue because I the current version uses a pascal script language to build up the GUI front end so that when the user makes a claimt hey have the latest version every time, but regardless, it works well. Not only that, all I am doing is shanging the GUI side of it, the ASP files at the back end dont need to be changed....which is a bonus.<br>
BUT I do also have yo use Javascript for some of the dynamic functionality and so that the webpage can talk to my Delphi app. via window.external, and I have learned a lot more about ajax and javascript, but still, cant beat a win32 frontend :-)<br>
<br>Jeremy<br><br><br><div class="gmail_quote">On Thu, Sep 18, 2008 at 10:53 AM, Conor Boyd <span dir="ltr"><<a href="mailto:Conor.Boyd@trimble.co.nz">Conor.Boyd@trimble.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Why everybody's obsession with forms/webpages?<br>
<br>
HTTP as a protocol has nothing specific to do with forms/pages/javascript.<br>
<br>
There's no reason why native code can't talk HTTP. Indeed, a lot of the Indy components are for just that purpose, and I even provided an example of HTTP upload progress in native code.<br>
<br>
This is the Delphi list, after all. :-Þ<br>
<br>
Just curious...<br>
<font color="#888888"><br>
C.<br>
</font><div><div></div><div class="Wj3C7c"><br>
-----Original Message-----<br>
From: <a href="mailto:delphi-bounces@delphi.org.nz">delphi-bounces@delphi.org.nz</a> [mailto:<a href="mailto:delphi-bounces@delphi.org.nz">delphi-bounces@delphi.org.nz</a>] On Behalf Of Neven MacEwan<br>
Sent: Thursday, 18 September 2008 10:35 a.m.<br>
To: NZ Borland Developers Group - Delphi List<br>
Subject: Re: [DUG] HTTP Upload Progress<br>
<br>
Jeremy<br>
<br>
You could do it in Javascript reltively simply ||||||||||||| makes a decent progress bar, I have never got into graphics with JS though its would be relatively simple to resize a <div> as a progress bar<br>
<br>
This is the Ajax Tool I use WWW: <a href="http://www.AjaxToolbox.com/" target="_blank">http://www.AjaxToolbox.com/</a><br>
<br>
HTH<br>
Neven<br>
> yeah there is a bit of stuff around done in Java, but the last thing<br>
> we need to have to do is explain to people how to install java. The<br>
> same for flash, which is why I was heading in the native code direction.<br>
><br>
> Jeremy<br>
><br>
> ----------------------------------------------------------------------<br>
> --<br>
> *From:* <a href="mailto:delphi-bounces@delphi.org.nz">delphi-bounces@delphi.org.nz</a><br>
> [mailto:<a href="mailto:delphi-bounces@delphi.org.nz">delphi-bounces@delphi.org.nz</a>] *On Behalf Of *Richard Vowles<br>
> *Sent:* 18 September 2008 05:46<br>
> *To:* NZ Borland Developers Group - Delphi List<br>
> *Subject:* Re: [DUG] HTTP Upload Progress<br>
><br>
> The way I implemented this (in a Java web server) was that once the<br>
> form was submitted, an ajax request was fired off in the background<br>
> and repeatedly asked the server how the file upload was progressing,<br>
> and updated the amount of colour in a progress bar. The upload was<br>
> attached to the session, so the ajax call was able to grab the info<br>
> structure from the session and query it (as the file upload specifies<br>
> how big something is and as the upload is happening, you can just<br>
> specify in the structure how much you had received).<br>
><br>
> 2008/9/17 Jeremy Coulter <<a href="mailto:jscoulter@gmail.com">jscoulter@gmail.com</a><br>
> <mailto:<a href="mailto:jscoulter@gmail.com">jscoulter@gmail.com</a>>><br>
><br>
> Hi Al, sorry this is a repeated post, as I have not received any<br>
> emails from the list in a week, then I got an email to reconfirm<br>
> my email address because the emails were meant to be<br>
> bouncing....which is strange because its my main email address and<br>
> I have been getting emails ok....anyway using gmail now.<br>
> So, here is my post again. Appologies if its already been answered.<br>
><br>
> Hi All.<br>
> I am wondering if anyone has seen or has any Delphi code that will<br>
> do an http file upload, BUT that shows you the upload progress.<br>
> I have looked at the Synapse code for doing this, but it doesn't<br>
> have the ability to show the progress.<br>
> Why use HTTP File upload and not FTP? simple answer, not every<br>
> site has FTP enabled...as we have found out, and email has been a<br>
> bit unreliable.<br>
> I have taken a look at the odd Java plugin that does this which<br>
> would be good because I could just have my app. look at a webpage<br>
> instead of build it into the exe, but then, no guarantees that<br>
> java is enabled either....sigh...the joys :-(<br>
> OR someone might even have a brighter idea ;-)<br>
><br>
> Jeremy<br>
><br>
> _______________________________________________<br>
> NZ Borland Developers Group - Delphi mailing list<br>
> Post: <a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a> <mailto:<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><br>
> <mailto:<a href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a>> with Subject: unsubscribe<br>
><br>
><br>
><br>
><br>
> --<br>
> ---<br>
> Richard Vowles, Technical Advisor<br>
> Developers Inc Ltd<br>
> web. <a href="http://www.developers-inc.co.nz" target="_blank">http://www.developers-inc.co.nz</a><br>
> ph. +64-9-3600231, mob. +64-275-467747, fax. +64-9-3600384 skype.<br>
> rvowles, LinkedIn, Twitter<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
> --<br>
><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<br>
> Subject: unsubscribe<br>
<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>
<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>
</div></div></blockquote></div><br></div>