in reply to Watching Creation File and send it to Server
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