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: | 705 |
Nodes: | 20 (0 / 20) |
Uptime: | 27:56:21 |
Calls: | 8,820 |
Calls today: | 10 |
Files: | 5,288 |
D/L today: |
71 files (58,432K bytes) |
Messages: | 458,066 |