I have an app which from time to time polls the contents of a folder.
The folder is typically populated through ftp (but it could be through a
shared folder on the LAN), so I need to wait for files to be completely
uploaded/copied before handling them.
I thought I could do that using PBHOpenDenySync, but I get a -50 (paramErr)
whenever I call this routine.
Then I thought I could try to open the file in fsRdWrPerm, but this is
always successfull, even when the file is indeed being created by the ftp
Then I tried the ...