Hello,

We recently added a file uploading capability to our Active4D-based  
website, and I'm having a problem that sounds very similar to that  
described here:
http://active4d.2283328.n4.nabble.com/Large-File-Uploads-td2958943.html#none

To summarize, I set the size limit to 10,440 (10MB + a generous 200K  
for headers) in Active4d.ini. Files up to and including 10MB are  
uploaded just fine. Files just over this limit (say, 10.3MB) are  
greeting with a 413 response as one would expect. However, files a  
good deal over the limit (20MB+) cause the receiving script to abort,  
and the browser just gets a connection reset instead of any response  
at all. My current testing is all on a LAN, so these file transfers  
are all so fast that there couldn't even be timeouts involved here.

Ideally, I want to get a 413 response no matter what the user tries to  
upload as that allows me to give them a nice explanation of what  
happens, and a chance to try again. The solution presented in the  
thread I mentioned above (increasing Application memory) appears to be  
dated - at least, I don't see such a setting anymore. Is it possible  
to always get a 413, or will there always be an upper limit over which  
the script just aborts without further action?

Our software configuration:
4D Server 2004 (8.0.7) on a PPC XServe
Active4D 4.0.2 (4D Acting as Webserver)

Thanks for any insight!

Chris Backas
Bristol Capital, Inc.


CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.).  It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify me immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to