Upload files in multiple locations using OAF form
I am using EBS 12.2.10 with database 19c (19.10.0.0.0) users upload text files for bank reconciliation in $CE_TOP/bin directory. In 12.2 there are 2 file systems run file system and patch file system. My problem is I don't know when these file systems switch alternatively. So I want to upload text files in both file systems (run and path file systems)
Problem is file is uploaded in one directory successfully but in second directory data is corrupted (Ý appears in whole file rather than actual data). I am unable to find find reason for this issue. Any help will be highly appreciated. Refer code which I am using to upload file.