My PB application cannot read a file from fileserver although all mappings are correct and user permissions are granted. The of_dirlist() function under pfc_n_cst_filesrvunicode does find files in a specific directory on server using winapi FindFirstFileW, but somehow cannot read them. Upon debugging, I found that the file attributes ( argument to function pfc_n_cst_filesrvunicode.of_includefile()) has a value of 10272, which makes this file not acceptable. If I put the file into my computer and map the drive, then this value is 32 and file will be read successfully.
I wonder if someone knows which file attribute is wrong? Or is this something in server settings?