Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

WebUtil, checking file size and filename length, how/when?

660131Sep 21 2011 — edited Sep 21 2011
Forms [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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 19 2011
Added on Sep 21 2011
2 comments
2,276 views