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
Such a method requires the client to change their process, which in most cases is unacceptable.
On Nov 12, 2007 4:07 PM, Colht, Charles Charles.Colht@acsalaska.com wrote:
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
Here's a thought: what about doing an lsof? If a file is still being written by ftpd it should be open for writing.
Brian:
Exactly!
Neil
-- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details.
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Brian Mathis Sent: Monday, November 12, 2007 3:23 PM To: CentOS mailing list Subject: Re: [centos] how to know when files have finished ftping?--antairrestored
Such a method requires the client to change their process, which in most cases is unacceptable.
On Nov 12, 2007 4:07 PM, Colht, Charles Charles.Colht@acsalaska.com wrote:
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
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
Brian Mathis wrote:
Such a method requires the client to change their process, which in most cases is unacceptable.
and in any case, it is - not desirable (why annoy "innocent people"? The goal of "this stuff" is to make things easy) - nor reliable (ok, you set the process, but what if the user forgets? what if he does a bad manipulation?).