G
Guest
situation:
I'm uploading file to my application using a java applet sending the request
(the file) through socket to my asp.net page.
On my asp.net page, I've override the httpmodule to take in the request and
saves the file to disk (on the server).
My .net side works if I use a simple html file input and post it, I've read
in the uploaded request (multipart form), and reproduced it in the java
applet.
Everything works fine when I upload a file around 20kb, but anything bigger,
I get that socket write error on the java side.
Now from the .net side the request.ReadEntityBody(data, bufferSize); will
return 0, meaning it's not reading anything from the request, and on the java
side I get the socket error.
So, who's causing the connection abort? .NET? IIS? XP?
I've put in the <httpRuntime executionTimeout="1800"
maxRequestLength="524288" /> in web.config, so timeout shouldn't be the
problem, as the whole upload process will last less than a second before it
dies.
Any suggestions?
I'm uploading file to my application using a java applet sending the request
(the file) through socket to my asp.net page.
On my asp.net page, I've override the httpmodule to take in the request and
saves the file to disk (on the server).
My .net side works if I use a simple html file input and post it, I've read
in the uploaded request (multipart form), and reproduced it in the java
applet.
Everything works fine when I upload a file around 20kb, but anything bigger,
I get that socket write error on the java side.
Now from the .net side the request.ReadEntityBody(data, bufferSize); will
return 0, meaning it's not reading anything from the request, and on the java
side I get the socket error.
So, who's causing the connection abort? .NET? IIS? XP?
I've put in the <httpRuntime executionTimeout="1800"
maxRequestLength="524288" /> in web.config, so timeout shouldn't be the
problem, as the whole upload process will last less than a second before it
dies.
Any suggestions?