Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Watching Creation File and send it to Server

by hatter (Pilgrim)
on Nov 06, 2001 at 22:21 UTC ( #123649=note: print w/replies, xml ) Need Help??


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

  • Comment on Re: Watching Creation File and send it to Server

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://123649]
help
Chatterbox?
[erix]: heh
[Discipulus]: $this != '|'
[Corion]: A good morning ;)
[Discipulus]: good morning monks! hi hdb
Discipulus is wondering if mathematicians are aware of a fact..

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2017-05-30 07:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?