Hi,
I'm attempting to use win32::changenotify to monitor a directory for new
files that get added. I'm creating a change notify object with the
FILE_NOTIFY_CHANGE_SIZE flag. When a new file is detected, I want to unzip
it with gzip, pull stuff out of it, and then delete it. Its not doing quite
what I want it to.
I think the problem I am running into is that when a new file is added to
the monitored directory and it gets unzipped, its name changes, as well as
its size. So my script incorrectly detects this unzipped file as a newly
added one, and tries to repeat those processing steps on it as the next
'new' file.
Can anyone suggest another way of making this happen, other than moving the
zipped file to a non-monitored directory, and processing it there?
Thanks for any input.
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin