From Newsgroup: comp.sys.mac.system
In message <60CMa.1064$Fy1.62876@localhost>, "Stephane Dion" <
stephane.dion@dynagram.com> wrote:
Hi,
I have a Carbon application that looks into a folder for a file (hot
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
is
completely written and closed.
So how I can know if the file was finished copying?
(runs on OS X 10.2)
You would have increased your chance to get an answer if you had posted in comp.sys.mac.programer.help...
-Laurent.
--
=================================================================
Laurent Daudelin Logiciels Nemesys Software mailto:
laurent.daudelin@ihatespam.net <
http://nemesys.dyndns.org>
Replace ihatespam with verizon to reply
+++++++++++ Sent using an Apple Newton MessagePad 2100 ++++++++++
--- Synchronet 3.18b-Win32 NewsLink 1.113