After much head scratching I figured out that the reason why the java applet wouldn't load is because I need to add:

.JAR    TEXT    CWIE    application/octet-stream

to the ExtensionMap.ini file

I'm still having the crashing problem, although I don't see how I can increase the memory as this is running on OSX (didn't mention this last time), anything less than 64K works ok, anything greater than 64K crashes. (I haven't tested 64k - 1 or 64k + 1 so this could be coincidence).

I've changed the value of "max request size" inside Active4D.ini to 8192, thus allowing 8Mb files to be uploaded, I don't think this is to much???

Any help on this would be appreciated.

p.s.

I'm using b15.

James.

On Wednesday, June 11, 2003, at 03:38 pm, [EMAIL PROTECTED] wrote:

<applet width="600" height="500" codebase="applet/"
archive="imaging.jar" code="Main.class">

Try codebase="/applet"


I've noticed that if I try and upload a large (> 1mb) file (it just
happens to be a JPEG) 4D crashes, this is both 6.8 and 2003.

4D tries to load the entire upload into memory and it ends up in a BLOB. In fact there will be a few copies in memory before it gets to Active4D. If you want to allow such large uploads, you need to give your server a whole lot of memory. If you don't want to allow large uploads, with 4D 2003 you can set the maximum request size in Active4D.ini and it will be used by 4D.
\!/
@ @
--------------------------------o00-(_)- 00o--------------------------------
D R A G A N D D R O P
41 Brook Road, Rayleigh
Essex UK SS6 7XJ


[EMAIL PROTECTED] Tel: +44 (0)1268 779 648
http://www.drag-and-drop.com Fax: +44 (0)1268 741 675
------------------------------------------------------------------------ ---




Reply via email to