I'm trying to check if a file exists on a remote server, in a Forms 12c program unit.
I tried to use
utl_file.file_exists('\\server\d$\folder\filename.txt')
and also
utl_file.fgetattr('DBFOLDER','filename.txt',f_exists,f_length,b_size)
whereas DBFOLDER is a DB directory mapped over \server\d$\folder
file_exists works from our machine (as developers, we have access permission on server folder), but not from users' machine. fgetattr doesnt work at all.
note that file_exists works from users' machine if it searchs files in user's computer (eg: utl_file.file_exists('c:\temp\test.txt')). how can I get it works for remote server?