This is my first try at uploading files using Active4D.

I think I stricly follow the documentation guidlines :

1. I have a blob defined in compiler_web : WACfileUpload
2. I have a form using WACfileUpload as an input type=file variable
3. I have an A4D scrit processing the form
4. the script uses get updload size("WACfileUpload") to check if data is
uplaoded befor doing any processing of the uploaded file

Whatever the type of file I try to upload, get updload size("WACfileUpload")
always returns -1 and A4D_error returns -43.

A dump of the form variables shows that the WACfileUpload variable seems to
contain the file uploaded i.e.: "; filename="4439-1.jpg" Content-Type:
image/jpeg .... Followed by binary content.

Am I missing something or i there something not working as expected.

Did you set the 'max request size' in Active4D.ini to a sufficiently high number?

Regards,

   Aparajita
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoy.org


_______________________________________________
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