Just to chime in here, what I use is another file that is transferred last. It can be zero sized. Just some name you look for and then delete when you are done for next time. It doesn't matter how long that one takes because you will know that the important files are already transferred.
chuck
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Neil Aggarwal Sent: Monday, November 12, 2007 7:28 AM To: 'CentOS mailing list' Subject: RE: [centos] how to know when files have finished ftping? --antairrestored
Geoff:
I used lsof.
Thanks everyone for the suggestions.
Neil
-- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details.
Here's a thought: what about doing an lsof? If a file is still being written by ftpd it should be open for writing.
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
*********************************************************************************** This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-297-3000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. ACS