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: | 895 |
| Nodes: | 20 (0 / 20) |
| Uptime: | 496862:33:14 |
| Calls: | 15,427 |
| Calls today: | 15 |
| Files: | 5,301 |
| D/L today: |
59 files (8,192P bytes) |
| Messages: | 666,618 |