Yes, the code (I believe) should be response.write. Either way, I get nothing on my screen until the loop finishes. I would like some way to display the value of x to the user so they know that they are at point "x" in the process. This would also keep the page from timing out if the process is especially lengthy.
>>Thanks for your reply. I looked through some of the materials.
>>
>>However, I don't think I explained myself clearly... the actual web service call takes about 1 second. The problem is that I am calling the web service many times from the following loop:
>>
>>
>>for x = 1 to g_len step 800
>> ....send next chunk of file....
>> o_callwebservice(l_login,l_filechunk)
>> console.write("Written " & alltrim(str(x)) & " bytes to server...")
>>endfor
>>
>>
>
>I'm confused with your code. You are using this from an ASP.NET page? console.write is for a Winforms app.
Steve Howie, owner
DaSH Technology
Denver, CO