XP is just a number | |
PerlMonks |
Watching Creation File and send it to Serverby Anonymous Monk |
on Nov 06, 2001 at 19:23 UTC ( [id://123591]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: I have a code running at my Client Machine, which use the Win32::ChangeNotify module ('FILE_NAME' flag) to watch the creation of file in the c:\windows\temp\ directory, by another application. When that event is flagged, the code will send that brand new file, by ftp, to my Server Machine. However, due the elapsed time during the writting process by application, the file is sending incomplete to Server.
My question is:
How can I to ensure that send process just begin after the writting to the file by another application had ended?
Thanks in Advance.
Back to
Seekers of Perl Wisdom
|
|