Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Watching Creation File and send it to Server

by jlongino (Parson)
on Nov 06, 2001 at 20:29 UTC ( [id://123609]=note: print w/replies, xml ) Need Help??


in reply to Watching Creation File and send it to Server

Maybe I'm missing something here, but why can't you just try to periodically assert an exclusive lock on the file? If the application has finished writing the file you should be able to do this. If the application doesn't release the lock why would anyone guess that it is finished and try to copy or rename the file? This could screw up the file and possibly crash the application (unless you know the exact nature of reads/writes/locks the application uses).

--Jim

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://123609]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-03-28 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found