Env: Win2K Server SP4, IIS 5.0
I want to send very large data post to IIS from a client. On IIS, i am
using an ASP page for testing purposes. See below.
The behavior that I am seeing from a java clinet client is that the socket
is being close by the server after approximately 300 - 400 meg or so.
Is there may be a metabase setting somewhere in IIS ? or is there a
restriction in IIS ?
<%
Dim ByteCount, BinRead, totalRead, chunkSize
Dim iteration
totalRead = 0
interation = 0
chunkSize = 8192
ByteCount = Request.TotalBytes
Response.write "Total bytes " & ByteCount
while (totalRead < ByteCount)
if (ByteCount - totalRead >= 8192) then
chunk = 8192
else
chunk = ByteCount - totalRead
end if
dim data
data = Request.BinaryRead ( chunk )
interation = interation + 1
totalRead = totalRead + chunk
Response.write "Total bytes read is " & totalRead
wend
Response.write "Total bytes read is " & totalRead & ". Iteration count
is " & iteration
%>