in reply to Checking for finished file transfer
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Checking for finished file transfer
by The Mad Hatter (Priest) on Aug 14, 2003 at 17:03 UTC |