Home » Developer & Programmer » Forms » Migration 6i to 10g WIN_API_DIRECTORY_LIST
Migration 6i to 10g WIN_API_DIRECTORY_LIST [message #304684] Thu, 06 March 2008 03:03 Go to next message
tiyise
Messages: 5
Registered: November 2007
Junior Member
Hi,
I am updating to 10g of 6i and I met with the following problem, WIN_API_DIRECTORY_LIST.FirstFile(path,file,isDirect,TRUE); no longer works, but not to function as supplies, any idea?

Thanks for the help.

[Updated on: Thu, 06 March 2008 03:05]

Report message to a moderator

Re: Migration 6i to 10g WIN_API_DIRECTORY_LIST [message #304703 is a reply to message #304684] Thu, 06 March 2008 05:08 Go to previous message
tiyise
Messages: 5
Registered: November 2007
Junior Member
I found the solution to the problem:

FUNCTION ExistFile (pathFile in Varchar2) RETURN Boolean IS
ret Boolean;
BEGIN
Begin
if ( webutil_file.file_exists(pathFile) and webutil_file.file_is_readable(pathFile) and
not webutil_file.file_is_directory(pathFile) ) then
ret := true;
else
ret := false;
end if;
Exception
When No_data_found then
ret := False;
End;
--
return ret;
END;
Previous Topic: how to populate one column from database to list item
Next Topic: Login Form
Goto Forum:
  


Current Time: Thu Feb 13 07:30:56 CST 2025