Don't ask to ask, just ask | |
PerlMonks |
Re: Watching Creation File and send it to Serverby hatter (Pilgrim) |
on Nov 06, 2001 at 22:21 UTC ( [id://123649]=note: print w/replies, xml ) | Need Help?? |
I don't know what does and doesn't work under windows but your best bet would either be file locking (either using proper fcntl, or a separate lock files as other people have suggested) or there's probably some equivalent to the unix 'fuser' which tells you which other processes are using a file., and if no other processes are accessing it, then the write must have finished.
the hatter
In Section
Seekers of Perl Wisdom
|
|