Naviserver has a very nice feature that allows (via javascript) to show a user 
the percent upload progress of a file. I tried porting their progress.c file to 
aolserver, but it's a significant effort, as it depends on other changes 
naviserver has implemented to the aolserver code.

However, I was wondering if there wasn't a fairly simple way to implement 
something similar on aolserver.

What I'd need is a way to know how much data has been uploaded.  

The way naviserver does it, is by asking you to POST your upload to a unique 
URL, and then they provide a tcl command that returns how many bytes have been 
uploaded to that unique URL. A javascript regularly polls an ADP page that uses 
the tcl progress command to tell you the number of bytes uploaded.

Is there any access (in C or Tcl) to an upload-in-progress in aolserver?

-john


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
<[email protected]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to