>>>>> "Ahmed" == Ahmed Moustafa Ibrahim Ahmed <[EMAIL PROTECTED]> writes:
Ahmed> My script should be waiting for the incoming files and encrypts them as Ahmed> soon as the transmission is completed. Using "lsof" makes a gap between Ahmed> the arrival of the files and their encryption. Ahmed> Is there any other way to know that a file is being FTPed, specifically? The traditional safe way is to have the sender first upload the file with a "temporary" extension or prefix, then do a remote-rename to a final valid name when the upload is complete. If you can't control the sender, then you are hosed. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]