<div dir="ltr">I've found a lot of PHP implementations of file upload from the client to the sever via rfc2388. When you receive the stream on your own server you can calculate the progress. I am not so sure about calculating the progress when you as a client send it via POST http-request to some other server. The actual data writing to the stream using (write-sequence buf stream :end pos) may happen pretty fast, but you'll wait for much longer time till you receive the response with the status code from the server.<br>
BTW, do we have some search in the mailing list? The <a href="http://common-lisp.net/pipermail/drakma-devel/">archive</a> page doesn't have the search field, how do you guys search it?<br><br>Thank you,<br>Andrew<br><br>
<div class="gmail_quote">On Wed, Sep 10, 2008 at 12:02 PM, Edi Weitz <span dir="ltr"><<a href="mailto:edi@agharta.de">edi@agharta.de</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;">
<div><div></div><div class="Wj3C7c">On Wed, 10 Sep 2008 11:20:56 -0400, "Andrei Stebakov" <<a href="mailto:lispercat@gmail.com">lispercat@gmail.com</a>> wrote:<br>
<br>
> I've always wanted to show the user some progress bar when I have to<br>
> upload a large file to the remote site using http-request.  My first<br>
> attempts to figure out where to plug the progress indicators didn't<br>
> bring my any success.  I'll give it another try, I just would like<br>
> to know if it's technically possible?<br>
<br>
</div></div>It's possible but not actually the task of the web server.  If you<br>
search the archives of this list, you'll find some previous<br>
discussions and solutions.  It might also be worthwhile to look at<br>
existing solutions in, say, PHP or Java and to translate them.<br>
<br>
Edi.<br>
_______________________________________________<br>
drakma-devel mailing list<br>
<a href="mailto:drakma-devel@common-lisp.net">drakma-devel@common-lisp.net</a><br>
<a href="http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel" target="_blank">http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel</a><br>
</blockquote></div><br></div>