I'm writing a script to transfer files using XCOM and then encrypt them. My problem is deciding when a file has been fully transferred so that I can execute the command to encrypt it.
Is there any way to check in Perl that a file is complete or still in use?