Hi,
I have a Carbon application that looks into a folder for a file (hotis
folder). When a file is being copied in the hot folder, my application
starts to read the file even if it's not finished being copied. I use FSpOpenDF(., fsWrPerm, .) and it returns without error. This is my problem. I need to know if the file is already open, so I can wait until the file
completely written and closed.
So how I can know if the file was finished copying?
(runs on OS X 10.2)
FSpOpenDF(., fsWrPerm, .) and it returns without error. This is my problem. I need to know if the file is already open, so I can wait until the file is completely written and closed.
FSpOpenDF(., fsWrPerm, .) and it returns without error. This is my problem. I need to know if the file is already open, so I can wait until the file is completely written and closed.
Sysop: | Gate Keeper |
---|---|
Location: | Shelby, NC |
Users: | 795 |
Nodes: | 20 (0 / 20) |
Uptime: | 27:52:46 |
Calls: | 12,560 |
Calls today: | 16 |
Files: | 5,294 |
D/L today: |
4 files (43K bytes) |
Messages: | 586,936 |