Take a look at Win32::ChangeNotify. Sorry that isn't a link, but I'm not sure where it is on CPAN (I was using the ActiveStates doc). There is a filter you can set so that you are notified on a change in file size. You can sleep for a short interval between checks on the file you want to monitor. Then, when you timeout on your wait, do your encryption.
In reply to Re: Checking for finished file transfer
by bfish
in thread Checking for finished file transfer
by qadwjoh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |