WebUtil, checking file size and filename length, how/when?
660131Sep 21 2011 — edited Sep 21 2011Forms [32 Bit] Version 10.1.2.3.0 (Production)
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
Hi all,
I setup a form with which users can upload a pdf to the database using webutil but I need some assistance doing some validation. I need to check and make sure the user is not trying to upload a file with a filename greater then 100 characters or larger then 10MB. Where and how would I do this validation as part of the upload?
I currently tried doing it after the WEBUTIL_FILE.FILE_OPEN_DIALOG call, but I'm getting an ORA 06502 when testing with a filename over 100 chars long.