|
Re: how to know that file is available or not [message #458057 is a reply to message #458051] |
Thu, 27 May 2010 02:34 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
gregor
Messages: 86 Registered: March 2010 Location: Germany
|
Member |
|
|
hi pradeepmca1980 ,
to look for a file, try open the file, catch the exception.
--on Database-Server: You can use database package "UTL_FILE.fopen" ( there are Security limitations to abtain, where to read, before you can use it).
Predefined Exceptions for utl_file.fopen are:
UTL_FILE.INVALID_MODE
UTL_FILE.INVALID_OPERATION
UTL_FILE.INVALID_PATH
UTL_FILE.INVALID_MAXLINESIZE
-- on ApplicationServer: Use the Forms-buildin "TEXT_IO.fopen()"
-- On Client-side: You can use WEBUTIL Client_text_io.fopen. For exceptions see Forms-online-Help.
GG
|
|
|
Re: how to know that file is available or not [message #458058 is a reply to message #458057] |
Thu, 27 May 2010 02:47 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
pradeepmca1980
Messages: 5 Registered: May 2010 Location: India
|
Junior Member |
|
|
Thank GG
but i want tell you actual scenario,
I stored the some .bmp/jpg file in one folder like c:\photo\pp.jpg.
In form6i, while pressed button, first i want to search the specific jpg file in c:\photo\ foler. if it is avaliable,then i proceed the next step otherwise i want to stop and give the error message to user. so my problem is , how we can search the file(.bmp/jpg) in c:\photo\ folder in form6i scenario.
please help me
Regards
pradeep
|
|
|
|
|
|