James,

In my tests I was on the local LAN. Also in my case I would have expected a failure, for example if I tried to load a 2.5 MB file where:

        max request size = 2048 `in KB

I should note that files approaching, but not exceeding, 2 MB in size upload quickly. The response time doesn't appear to be relative to upload size (maybe it is but it is so quick I can't discern a difference)

The problem is that any files over 2 MB fail with no response. I'd like at the least to see a 413 error.

I'll keep your advice in mind should we implement this. The users who would use this feature will all be "off-site".

Since I use the pre-stream execute hook for other things should I modify it to add a case to look for criteria that might indicate a file upload, check the request size, and somehow force a redirect to a custom "upload too big" page? Is that even possible, and if so would anyone who has done it mind sharing some code?

best,

Brad

Brad,

I reported a similar problem a little while ago.

My problem was related to the "receive timeout" parameter in Active4D.ini.

If I tried uploading a big file via my local lan it all happened quickly and all would be fine, however if I uploaded the same file over the internet the browser would just hang, no error message, it would just stop sending data.

I increased the timeout value and all was fine.

I would of liked to of seen an error message returned to the browser (this would of helped me debug it), however the workaround is fine.

HTH

James.

On 22 Apr 2005, at 22:23, Brad Perkins wrote:

Active4D 3.0
4D Client 6.8.4 running on MacOS 10.2.8
ITK as server

I'm doing some tests to get a better understanding of Active4D's file upload commands. I'm working with a simple page that is based on the upload examples in the demo.

I'm finding that if I try to upload a file that is larger than the limit set in Active4D.ini the page will timeout with no error indication. I've observed this with both

max request size = 1024
max request size = 2048

I initially saw it alot with smaller files when

max request size =  `I hadn't set a value

From the documentation I would expect Active4D to return a 413 error to the browser, but I'm not seeing them.

FWIW, If implemented we'll probably need to allow uploads up to 2 MB in size.

Thanks,

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



Drag And Drop Limited 41 Brook Road Rayleigh Essex SS6 7XJ http://www.drag-and-drop.com t: 01268 779648 f: 01268 741675

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

_______________________________________________ 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