I have a perl script that processes files in directories and zips them up.
The problem I have is that some of the files may be in the process of being
copied into the directory I am monitoring while I am trying to zip them up.
I have tried to wait for the file to finish copying before zipping by
comparing the file sizes after a 5 second interval. The only problem is
that windows states the total file size as soon as the file is visable in
the directory ( even if only 1% of the file is copied).
I have tried using Win32::File::GetAttributes as well as -s($file) with no
success.
Any ideas how I can check if the file is not locked ??
Thanks
John
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin